35 #ifndef CARTOBASE_SMART_REFWRAPPER_H
36 #define CARTOBASE_SMART_REFWRAPPER_H
A ref is a const_ref which can reference non constant objects.
reference_wrapper(const reference_wrapper< type > &x)
reference_wrapper< type > & operator=(const reference_wrapper< type > &x)
reference_wrapper(type &ref)
reference_wrapper< const T > cref(const T &ref)
Function to create a wrapper holding a const reference.
reference_wrapper< T > ref(T &ref)
Function to create a wrapper holding a reference.