Seastar
High performance C++ framework for concurrent servers
Classes | Public Member Functions | List of all members
seastar::noncopyable_function< Ret(Args...) noexcept(Noexcept)> Class Template Reference

Detailed Description

template<typename Ret, typename... Args, bool Noexcept>
class seastar::noncopyable_function< Ret(Args...) noexcept(Noexcept)>

A clone of std::function, but only invokes the move constructor of the contained function.

#include <seastar/util/noncopyable_function.hh>

Inheritance diagram for seastar::noncopyable_function< Ret(Args...) noexcept(Noexcept)>:

Public Member Functions

template<typename Func >
 noncopyable_function (Func func)
 
template<typename Object , typename... AllButFirstArg>
 noncopyable_function (Ret(Object::*member)(AllButFirstArg...) noexcept(Noexcept))
 
template<typename Object , typename... AllButFirstArg>
 noncopyable_function (Ret(Object::*member)(AllButFirstArg...) const noexcept(Noexcept))
 
 noncopyable_function (const noncopyable_function &)=delete
 
noncopyable_functionoperator= (const noncopyable_function &)=delete
 
 noncopyable_function (noncopyable_function &&x) noexcept
 
noncopyable_functionoperator= (noncopyable_function &&x) noexcept
 
Ret operator() (Args... args) const noexcept(Noexcept)
 
 operator bool () const
 

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