Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
ReflectiveRapidJSON::Detail Namespace Reference

Functions

template<typename T>
std::reference_wrapper< const T > wrapReferences (const T &val)
 Wraps const references using std::cref() for use with std::bind().
template<typename T>
std::reference_wrapper< T > wrapReferences (T &val)
 Wraps mutable references using std::ref() for use with std::bind().
template<typename T>
T && wrapReferences (T &&val)
 Forwards non-references for use with std::bind().

Function Documentation

◆ wrapReferences() [1/3]

template<typename T>
std::reference_wrapper< const T > ReflectiveRapidJSON::Detail::wrapReferences ( const T & val)

Wraps const references using std::cref() for use with std::bind().

Definition at line 76 of file codefactory.h.

◆ wrapReferences() [2/3]

template<typename T>
T && ReflectiveRapidJSON::Detail::wrapReferences ( T && val)

Forwards non-references for use with std::bind().

Definition at line 92 of file codefactory.h.

◆ wrapReferences() [3/3]

template<typename T>
std::reference_wrapper< T > ReflectiveRapidJSON::Detail::wrapReferences ( T & val)

Wraps mutable references using std::ref() for use with std::bind().

Definition at line 84 of file codefactory.h.