MADNESS  version 0.9
Classes | Namespaces | Macros | Functions

Implements Future. More...

#include <vector>
#include <stack>
#include <new>
#include <madness/world/nodefaults.h>
#include <madness/world/worlddep.h>
#include <madness/world/array.h>
#include <madness/world/shared_ptr.h>
#include <madness/world/worldref.h>
#include <madness/world/typestuff.h>
#include <madness/world/worldfwd.h>
#include <madness/world/move.h>
Include dependency graph for worldfut.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madness::Future< T >
 A future is a possibly yet unevaluated value. More...
 
struct  madness::is_future< T >
 Boost-type-trait-like testing of if a type is a future. More...
 
struct  madness::is_future< Future< T > >
 Boost-type-trait-like testing of if a type is a future. More...
 
struct  madness::remove_future< T >
 Boost-type-trait-like mapping of Future<T> to T. More...
 
struct  madness::remove_future< Future< T > >
 Boost-type-trait-like mapping of Future<T> to T. More...
 
class  madness::FutureImpl< T >
 Implements the functionality of Futures. More...
 
class  madness::Future< T >
 A future is a possibly yet unevaluated value. More...
 
class  madness::Future< Future< T > >
 A future of a future is forbidden (by private constructor) More...
 
class  madness::FutureImpl< void >
 Specialization of FutureImpl<void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< void >
 Specialization of Future<void> for internal convenience ... does nothing useful! More...
 
class  madness::FutureImpl< Void >
 Specialization of FutureImpl<Void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< Void >
 Specialization of Future<Void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< std::vector< Future< T > > >
 Specialization of Future for vector of Futures. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< T > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< T > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< void > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< void > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< Void > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< Void > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, std::vector< Future< T > > >
 
struct  madness::archive::ArchiveLoadImpl< Archive, std::vector< Future< T > > >
 Deserialize a future into an unassigned future. More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 
 madness::archive
 

Macros

#define REMFUTURE(T)   typename remove_future< T >::type
 Macro to determine type of future (by removing wrapping future template) More...
 

Functions

template<typename T >
std::ostream & madness::operator<< (std::ostream &out, const Future< T > &f)
 Human readable printing of future to stream. More...
 
template<typename T >
std::vector< Future< T > > madness::future_vector_factory (std::size_t n)
 Factory for vectors of futures (see section Gotchas on the mainpage) More...
 
template<>
std::ostream & madness::operator<< (std::ostream &out, const Future< void > &f)
 
template<>
std::ostream & madness::operator<< (std::ostream &out, const Future< Void > &f)
 

Detailed Description

Implements Future.