|
PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Compile-time for loops. More...
#include <type_traits>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | pbat |
| The main namespace of the library. | |
| namespace | pbat::common |
| Common functionality. | |
Functions | |
| template<class... Ts, class F> | |
| constexpr void | pbat::common::ForTypes (F &&f) |
| Compile-time for loop over types. | |
| template<auto... Xs, class F> | |
| constexpr void | pbat::common::ForValues (F &&f) |
| Compile-time for loop over values. | |
| template<auto Begin, auto End, typename F> | |
| constexpr void | pbat::common::ForRange (F &&f) |
| Compile-time for loop over a range of values. | |
Compile-time for loops.