std::meta::reflection_range - cppreference.com
Namespaces
Variants

std::meta::reflection_range

From cppreference.com
< cpp | meta
 
 
 
Reflection library
 
Reflection types and queries
Reflection queries
Reflection layout queries
Type properties
Type property queries
 

The reflection_range concept defines the requirements of a type that represents a sequence of reflection values and can be passed to reflection functions.

Example

#include <meta>
#include <span>
#include <vector>

static_assert(std::meta::reflection_range<std::vector<std::meta::info>>);
static_assert(std::meta::reflection_range<std::span<const std::meta::info>>);
static_assert(std::meta::reflection_range<std::initializer_list<std::meta::info>>);

int main() {}