WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
FunctionRef.hpp File Reference
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  sleipnir::function_ref< R(Args...)>
 

Namespaces

namespace  sleipnir
 

Functions

template<typename R , typename... Args>
constexpr void sleipnir::swap (function_ref< R(Args...)> &lhs, function_ref< R(Args...)> &rhs) noexcept
 Swaps the referred callables of lhs and rhs.
 
template<typename R , typename... Args>
 sleipnir::function_ref (R(*)(Args...)) -> function_ref< R(Args...)>