Simple-Vector v1.3.0
Functional.hpp File Reference
#include "Concepts.hpp"
#include <concepts>
#include <functional>
#include <utility>

Go to the source code of this file.

Classes

struct  sl::vec::detail::cast_invoke_result_fn< TTargetType, TFunc >
 

Namespaces

namespace  sl
 
namespace  sl::vec
 
namespace  sl::vec::detail
 
namespace  sl::vec::fn
 

Functions

template<class TTargetType , std::copy_constructible TFunc>
constexpr auto sl::vec::fn::cast_invoke_result (TFunc func) noexcept
 Factory function creating a wrapper function object, which invokes the provided function object and casts the result into the given type. More...