35 #ifndef MADNESS_WORLD_REF_H__INCLUDED 
   36 #define MADNESS_WORLD_REF_H__INCLUDED 
  102             operator T& () 
const { 
return get(); }
 
  116             template <
typename Archive>
 
  217     template <
typename T>
 
  218     class Future<detail::ReferenceWrapper<T> > {
 
  261         operator T&() 
const { 
return ref_.
get(); }
 
  267 #endif // MADNESS_WORLD_REF_H__INCLUDED 
Future(const detail::ReferenceWrapper< T > &ref)
Constructor. 
Definition: ref.h:231
Future< T > & operator=(const Future< T > &other)
Assignment future = future makes a shallow copy just like copy constructor. 
Definition: worldfut.h:448
detail::ReferenceWrapper< T > const ref(T &t)
Reference wrapper factory function. 
Definition: ref.h:132
This class used for callbacks (e.g., for dependency tracking) 
Definition: worlddep.h:51
void serialize(const Archive &)
Serialization. 
Definition: ref.h:117
bool_constant< true > true_type
Definition: gtest-port.h:1618
T * get_pointer() const 
Obect pointer accessor. 
Definition: ref.h:108
bool_constant< false > false_type
Definition: gtest-port.h:1617
Reference wrapper class. 
Definition: ref.h:69
ReferenceWrapper(T &t)
Constructor. 
Definition: ref.h:84
T type
Definition: ref.h:189
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
Type trait for reference wrapper. 
Definition: ref.h:147
T type
Definition: ref.h:183
void register_callback(CallbackInterface *callback)
Register a callback. 
Definition: ref.h:256
ReferenceWrapper type trait accessor 
Definition: ref.h:151
Future()
Makes an unassigned future. 
Definition: worldfut.h:397
T type
Definition: ref.h:171
detail::ReferenceWrapper< const T > const cref(const T &t)
Constant reference wrapper factory function. 
Definition: ref.h:140
UnwrapReference< T >::type & unwrap_ref(T &t)
Function for retreaving the referenced object. 
Definition: ref.h:199
ReferenceWrapper()
Default constructor. 
Definition: ref.h:79
bool probe() const 
Probe set state of the future. 
Definition: ref.h:249
T & get() const 
Reference accessor. 
Definition: ref.h:92
A future is a possibly yet unevaluated value. 
Definition: ref.h:210
T type
Definition: ref.h:177
Implements MadnessException. 
#define MADNESS_EXCEPTION(msg, value)
Definition: worldexc.h:88
T type
The reference type. 
Definition: ref.h:74
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces. 
Definition: chem/atomutil.cc:45
T * get_pointer(const detail::ReferenceWrapper< T > &r)
Function for retreaving a pointer to the referenced object. 
Definition: ref.h:207
T type
The reference type. 
Definition: ref.h:153