hemirt / invoke.hpp

std::invoke/std::apply analogs for C++14

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

invoke.hpp

std::invoke/std::apply analogs for C++14

travis appveyor language license paypal

Installation

invoke.hpp is a single header library. All you need to do is copy the header file into your project and include this file:

#include "invoke.hpp"

API

invoke_hpp::invoke(F&& f, Args&&... args)

Analog of std::invoke from C++17

invoke_hpp::invoke_result<F, Args...>

Analog of std::invoke_result from C++17

invoke_hpp::invoke_result_t<F, Args...>

Analog of std::invoke_result_t from C++17

invoke_hpp::is_invocable<F, Args...>

Analog of std::is_invocable from C++17

invoke_hpp::is_invocable_r<R, F, Args...>

Analog of std::is_invocable_r from C++17

invoke_hpp::apply(F&& f, Tuple&& args)

Analog of std::apply from C++17

License (MIT)

About

std::invoke/std::apply analogs for C++14

License:MIT License


Languages

Language:C++ 99.7%Language:Batchfile 0.2%Language:Shell 0.1%Language:CMake 0.1%