Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lib::wrapper Namespace Reference

Namespaces

 test
 

Classes

class  AssignableRefWrapper
 Extension to std::reference_wrapper: Allows additionally to re-bind to another reference, almost like a pointer. More...
 
class  FunctionResult
 Extension of ItemWrapper: a function remembering the result of the last invocation. More...
 
struct  is_assignable_value
 
class  ItemWrapper
 Universal value/ref wrapper behaving like a pointer. More...
 
class  ItemWrapper< TY & >
 Specialisation of the ItemWrapper to deal with references, as if they were pointer values. More...
 
class  ReplaceableItem
 Adapter container to take snapshots from non-assignable values. More...
 
class  ReplaceableItem< X, meta::enable_if< is_assignable_value< X > > >
 simple delegating implementation to use for regular cases More...
 
class  ReplaceableItem< X, meta::enable_if< std::is_reference< X > > >
 disallow embedding references More...
 
class  ReturnRef
 Reference wrapper implemented as constant function, returning the (fixed) reference on invocation. More...
 

Functions

template<typename X >
bool operator!= (ReplaceableItem< X > const &li, ReplaceableItem< X > const &ri)
 
template<typename X , typename Z >
bool operator!= (ReplaceableItem< X > const &item, Z const &something)
 
template<typename Z , typename X >
bool operator!= (Z const &something, ReplaceableItem< X > const &item)
 
template<typename TY >
bool operator!= (ItemWrapper< TY > const &w1, ItemWrapper< TY > const &w2)
 
template<typename X >
bool operator== (ReplaceableItem< X > const &li, ReplaceableItem< X > const &ri)
 
template<typename X , typename Z >
bool operator== (ReplaceableItem< X > const &item, Z const &something)
 
template<typename Z , typename X >
bool operator== (Z const &something, ReplaceableItem< X > const &item)
 
template<typename TY >
bool operator== (ItemWrapper< TY > const &w1, ItemWrapper< TY > const &w2)
 allow equality comparison if the wrapped types are comparable More...
 
template<typename T >
ReturnRef< T > refFunction (T &target)
 

Class Documentation

class lib::wrapper::ReplaceableItem< X, meta::enable_if< std::is_reference< X > > >
+ Collaboration diagram for ReplaceableItem< X, meta::enable_if< std::is_reference< X > > >:

Function Documentation

bool lib::wrapper::operator== ( ReplaceableItem< X > const &  li,
ReplaceableItem< X > const &  ri 
)
inline

Definition at line 208 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

bool lib::wrapper::operator!= ( ReplaceableItem< X > const &  li,
ReplaceableItem< X > const &  ri 
)
inline

Definition at line 214 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

bool lib::wrapper::operator== ( ReplaceableItem< X > const &  item,
Z const &  something 
)
inline

Definition at line 221 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

bool lib::wrapper::operator!= ( ReplaceableItem< X > const &  item,
Z const &  something 
)
inline

Definition at line 227 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

bool lib::wrapper::operator== ( Z const &  something,
ReplaceableItem< X > const &  item 
)
inline

Definition at line 234 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

bool lib::wrapper::operator!= ( Z const &  something,
ReplaceableItem< X > const &  item 
)
inline

Definition at line 240 of file replaceable-item.hpp.

References ReplaceableItem< X, COND >::get().

+ Here is the call graph for this function:

ReturnRef<T> lib::wrapper::refFunction ( T &  target)

Definition at line 114 of file wrapper.hpp.

bool lib::wrapper::operator== ( ItemWrapper< TY > const &  w1,
ItemWrapper< TY > const &  w2 
)
inline

allow equality comparison if the wrapped types are comparable

Definition at line 323 of file wrapper.hpp.

bool lib::wrapper::operator!= ( ItemWrapper< TY > const &  w1,
ItemWrapper< TY > const &  w2 
)
inline

Definition at line 330 of file wrapper.hpp.