ThreadSchedule 2.2.0
Modern C++ thread management library
Loading...
Searching...
No Matches
callable.hpp File Reference

Feature-gated callable storage aliases for modern C++ builds. More...

#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
Include dependency graph for callable.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  threadschedule::detail::function_ref< R(Args...)>

Namespaces

namespace  threadschedule
namespace  threadschedule::detail

Typedefs

template<typename T>
using threadschedule::detail::remove_cvref_t = std::remove_cv_t<std::remove_reference_t<T>>
template<typename Signature>
using threadschedule::detail::move_callable = std::function<Signature>
template<typename Signature>
using threadschedule::detail::copyable_callable = std::function<Signature>

Functions

template<typename Signature, typename Callable>
auto threadschedule::detail::make_move_callable (Callable &&callable) -> move_callable< Signature >
template<typename Signature, typename Callable>
auto threadschedule::detail::make_copyable_callable (Callable &&callable) -> copyable_callable< Signature >

Detailed Description

Feature-gated callable storage aliases for modern C++ builds.

Definition in file callable.hpp.