GMP 0.3.0
Generative Metaprogramming library for C++
Loading...
Searching...
No Matches
utility.hpp File Reference

Go to the source code of this file.

Classes

struct  gmp::constant_arg_t< auto >
 Wrap a compile-time value as a distinct function argument type. More...
 
struct  gmp::any
 A placeholder type implicitly convertible to any type. More...
 

Namespaces

namespace  gmp
 

Functions

template<typename T >
consteval const T & gmp::as_value () noexcept
 Expose a default-constructed value of type T as a compile-time reference.
 

Variables

template<auto V>
constexpr constant_arg_t< Vgmp::constant_arg
 A ready-to-use constant_arg_t<V> object for a compile-time value.