repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::Accessor< T C::* > Struct Template Reference

#include <members.h>

Public Types

using class_type = C
 
using type = typename decltype(get_type())::type
 

Public Member Functions

template<typename Obj >
requires (std::same_as<Obj, class_type>)
constexpr decltype(auto) operator() (Obj &&obj) noexcept
 

Public Attributes

T C::* value
 

Member Typedef Documentation

◆ class_type

template<typename C , typename T >
using librepr::Accessor< T C::* >::class_type = C

◆ type

template<typename C , typename T >
using librepr::Accessor< T C::* >::type = typename decltype(get_type())::type

Member Function Documentation

◆ operator()()

template<typename C , typename T >
template<typename Obj >
requires (std::same_as<Obj, class_type>)
constexpr decltype(auto) librepr::Accessor< T C::* >::operator() ( Obj &&  obj)
inlineconstexprnoexcept

Member Data Documentation

◆ value

template<typename C , typename T >
T C::* librepr::Accessor< T C::* >::value

The documentation for this struct was generated from the following file: