#include <functor.h>
Public Types | |
| typedef T | value_type |
| typedef T | base_value_type |
Public Member Functions | |
| const_object_reference_wrapper (const value_type &obj) | |
| const base_value_type & | operator() (const value_type &t) |
| Sets this object's proxied obj to t and returns t. | |
| const base_value_type & | operator() () const |
| Returns this object's wrapped object. | |
It is a separate functor to avoid ambiguity and some impossible overloads.
Definition at line 164 of file functor.h.
|
|||||||||
|
Returns this object's wrapped object. ACHTUNG: this function WILL Cause Grief if it is called on a default-constructed version of this object: you must set this object's wrapped value using the ctor, operator(T), or via copying this object from a properly-initialized one before calling this. |
1.3.7