Defines a reference wrapper for c++ objects. More...
#include <ecl/mpl/bool.hpp>
Go to the source code of this file.
Classes | |
class | ecl::is_reference_wrapper< T > |
Default action for detection of the reference wrapper type trait (false). More... | |
class | ecl::is_reference_wrapper< ReferenceWrapper< T > > |
Configures the reference wrapper type trait for the ReferenceWrapper specialisation to true. More... | |
class | ecl::ReferenceWrapper< T > |
Provides a wrapper which allows the original object to be passed like a reference. More... | |
Namespaces | |
ecl | |
Embedded control libraries. | |
Functions | |
template<typename T > | |
T * | ecl::addressOf (T &v) |
Returns the address of an object (uses correct c++ syntactics). More... | |
template<typename T > | |
ReferenceWrapper< T const > | ecl::cref (T const &wrapped_object) |
template<typename T > | |
ReferenceWrapper< T > | ecl::ref (T &wrapped_object) |
Defines a reference wrapper for c++ objects.
Reference wrappers are soon coming to c++, these definitions will work until that time.
Definition in file references.hpp.