ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
move_only_function.hpp File Reference
#include <cstddef>
#include <functional>
#include <memory>
#include <new>
#include <type_traits>
#include <utility>
Include dependency graph for move_only_function.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::detail::move_only_function< R(Args...), InlineSize >
 

Namespaces

namespace  threadschedule
 
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.
 

Typedefs

template<typename T >
using threadschedule::detail::remove_cvref_t = std::remove_cv_t< std::remove_reference_t< T > >
 

Functions

template<typename Signature , std::size_t InlineSize = 3 * sizeof(void*), typename Callable >
auto threadschedule::detail::make_move_only_function (Callable &&callable) -> move_only_function< Signature, InlineSize >