repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
member.h File Reference
Include dependency graph for member.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librepr::detail::MemberName< ptr >
 
struct  librepr::detail::MemberName< info >
 

Namespaces

namespace  librepr
 
namespace  librepr::detail
 

Macros

#define LIBREPR_SUBOBJECT_PTR(...)   __VA_ARGS__
 

Functions

template<typename T >
constexpr auto librepr::detail::get_member_names ()
 

Variables

template<typename T , std::size_t Idx>
LIBREPR_WARNING_PUSH constexpr auto librepr::detail::raw_member_name
 
template<typename T >
LIBREPR_WARNING_POP constexpr auto librepr::detail::raw_member_names
 
template<auto Accessor>
constexpr auto librepr::detail::custom_member_name = MemberName<Accessor>::value
 
template<typename T >
constexpr auto librepr::member_names = detail::get_member_names<T>()
 
template<typename T , std::size_t Idx>
constexpr auto librepr::member_name = member_names<T>[Idx]
 

Macro Definition Documentation

◆ LIBREPR_SUBOBJECT_PTR

#define LIBREPR_SUBOBJECT_PTR (   ...)    __VA_ARGS__