Template Function ecl::cref

Function Documentation

template<typename T>
ReferenceWrapper<T const> ecl::cref(T const &wrapped_object)

This is a simple means of instantiating a const reference wrapper.

This is a simple means of instantiating a const reference wrapper.

Parameters:

wrapped_object – : the object to be referenced.

Returns:

const ReferenceWrapper<T> : the wrapper.