std::meta::is_value
From cppreference.com
C++
Reflection library
| Defined in header <meta>
|
||
consteval bool is_value( std::meta::info r );
|
(since C++26) | |
Returns true if r represents a (scalar) value. Otherwise returns false.
Contents
Parameters
| r | - | a reflection value |
Return value
true if r represents a (scalar) value; otherwise false.
Example
Run this code
#include <meta>
int main() {}
See also
(C++26) |
checks if reflection represents a static object (function) [edit] |