Popularity
3.0
Growing
Activity
5.1
Declining
185
11
8

Description

Provides two improved implementations of std::function:

* copyable fu2::function * move-only fu2::unique_function (capable of holding move only types)

that provide many benefits and improvements over std::function:

* const, volatile and reference correct (qualifiers are part of the operator() signature). * convertible to and from std::function as well as other callable types. * adaptable through fu2::function_base (internal capacity, copyable and exception guarantees) * overloadable with an arbitrary count of signatures (fu2::function) * full allocator support in contrast of std::function which doesn’t provide support anymore * covered by unit tests and continuous integration (GCC, Clang and MSVC). * header only, just copy and include function.hpp in your project, permissive licensed under boost.

Programming language: C++
Tags: Containers     Portable     Utilities     C++14     Type Erasure    

function2 alternatives and similar libraries

Based on the "Containers" category

Do you think we are missing an alternative of function2 or a related project?

Add another 'Containers' Library