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

#include <members.h>

Public Types

using class_type = C
 
using type = T
 

Public Member Functions

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

Public Attributes

T(* value )(C const &)
 

Member Typedef Documentation

◆ class_type

template<typename T , typename C >
using librepr::Accessor< T(*)(C const &)>::class_type = C

◆ type

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

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ value

template<typename T , typename C >
T(* librepr::Accessor< T(*)(C const &)>::value) (C const &)

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