cartobase  5.0.5
carto::wrap Namespace Reference

Functions

template<typename T >
reference_wrapper< T > ref (T &ref)
 Function to create a wrapper holding a reference. More...
 
template<typename T >
reference_wrapper< T > ref (reference_wrapper< T > &other)
 Same, from copy. More...
 
template<typename T >
reference_wrapper< const T > cref (const T &ref)
 Function to create a wrapper holding a const reference. More...
 
template<typename T >
reference_wrapper< const T > cref (reference_wrapper< const T > &other)
 Same, from copy. More...
 

Function Documentation

◆ cref() [1/2]

template<typename T >
reference_wrapper<const T> carto::wrap::cref ( const T &  ref)

Function to create a wrapper holding a const reference.

Definition at line 83 of file refwrapper.h.

References ref().

◆ cref() [2/2]

template<typename T >
reference_wrapper<const T> carto::wrap::cref ( reference_wrapper< const T > &  other)

Same, from copy.

Definition at line 90 of file refwrapper.h.

◆ ref() [1/2]

template<typename T >
reference_wrapper<T> carto::wrap::ref ( T &  ref)

Function to create a wrapper holding a reference.

Definition at line 69 of file refwrapper.h.

References ref().

◆ ref() [2/2]

template<typename T >
reference_wrapper<T> carto::wrap::ref ( reference_wrapper< T > &  other)

Same, from copy.

Definition at line 76 of file refwrapper.h.

Referenced by cref(), and ref().