repr 0.1
Reconstructable string representations and more
|
#include <members.h>
Public Types | |
using | accessor = Accessor< T > |
using | type = typename accessor::type |
using | class_type = typename accessor::class_type |
Public Member Functions | |
constexpr | Member (T accessor) |
constexpr | Member (T accessor, auto name_) |
template<typename Obj > requires (std::same_as<std::decay_t<Obj>, class_type>) | |
constexpr decltype(auto) | operator() (Obj &&obj) noexcept |
Public Attributes | |
Accessor< T > | value |
const_string< N > | name {} |
using librepr::Member< T, N >::accessor = Accessor<T> |
using librepr::Member< T, N >::class_type = typename accessor::class_type |
using librepr::Member< T, N >::type = typename accessor::type |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
const_string<N> librepr::Member< T, N >::name {} |
Accessor<T> librepr::Member< T, N >::value |