Apache Mesos
Public Member Functions | Public Attributes | List of all members
process::UndiscardableDecorator< F > Struct Template Reference

#include <future.hpp>

Public Member Functions

template<typename G , typename std::enable_if< std::is_constructible< F, G >::value, int >::type = 0>
 UndiscardableDecorator (G &&g)
 
template<typename... Args>
auto operator() (Args &&...args) -> decltype(std::declval< F & >()(std::forward< Args >(args)...))
 

Public Attributes

f
 

Constructor & Destructor Documentation

template<typename F >
template<typename G , typename std::enable_if< std::is_constructible< F, G >::value, int >::type = 0>
process::UndiscardableDecorator< F >::UndiscardableDecorator ( G &&  g)
inline

Member Function Documentation

template<typename F >
template<typename... Args>
auto process::UndiscardableDecorator< F >::operator() ( Args &&...  args) -> decltype(std::declval<F&>()(std::forward<Args>(args)...))
inline

Member Data Documentation

template<typename F >
F process::UndiscardableDecorator< F >::f

The documentation for this struct was generated from the following file: