Classes | Namespaces | Functions
references.hpp File Reference

Defines a reference wrapper for c++ objects. More...

#include <ecl/mpl/bool.hpp>
Include dependency graph for references.hpp:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Defines a reference wrapper for c++ objects.

Reference wrappers are soon coming to c++, these definitions will work until that time.

Date
July 2009

Definition in file references.hpp.



ecl_utilities
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:41