cartobase  4.5.0
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

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().

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.

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.

Referenced by cref().

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

Same, from copy.

Definition at line 76 of file refwrapper.h.