cartobase 6.0.6
carto::wrap Namespace Reference

Functions

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

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 ( reference_wrapper< T > & other)

Same, from copy.

Definition at line 76 of file refwrapper.h.

◆ ref() [2/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().

Referenced by cref(), and ref().