YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
shared_func.hpp File Reference
#include <yaclib/util/detail/safe_call.hpp>
#include <yaclib/util/func.hpp>
#include <yaclib/util/helper.hpp>
#include <yaclib/util/intrusive_ptr.hpp>
#include <yaclib/util/ref.hpp>
#include <type_traits>
#include <utility>
Include dependency graph for shared_func.hpp:

Go to the source code of this file.

Classes

class  yaclib::detail::SharedFunc< Func >
 

Namespaces

namespace  yaclib
 
namespace  yaclib::detail
 

Typedefs

using yaclib::IFuncPtr = IntrusivePtr< IFunc >
 

Functions

template<typename Func >
IFuncPtr yaclib::MakeFunc (Func &&f)
 Create shared IFunc object from any Callable func.