Logo ROOT   6.18/05
Reference Guide
Classes | Namespaces | Functions
TFuture.hxx File Reference
#include "RConfigure.h"
#include "ROOT/TTaskGroup.hxx"
#include <type_traits>
#include <future>
Include dependency graph for TFuture.hxx:

Classes

class  ROOT::Experimental::TFuture< T >
 A TFuture class. It can wrap an std::future. More...
 
class  ROOT::Detail::TFutureImpl< T >
 

Namespaces

namespace  ROOT
 Namespace for new ROOT classes and functions.
 
namespace  ROOT::Detail
 
namespace  ROOT::Experimental
 

Functions

template<class Function , class... Args>
TFuture< typename std::result_of< typename std::decay< Function >::type(typename std::decay< Args >::type...)>::typeROOT::Experimental::Async (Function &&f, Args &&... args)
 Runs a function asynchronously potentially in a new thread and returns a ROOT TFuture that will hold the result. More...