SlackBuilds Repository

15.0 > Libraries > function2 (4.2.0)

function2 improved and configurable drop-in replacement header to 
std::function that supports move only types, multiple overloads
and more

benefits and improvements over std::function:

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

This requires: gtest

Maintained by: Martin Bångens
Keywords: std::function,improved std c++
ChangeLog: function2


Source Downloads:
function2-4.2.0.tar.gz (04b1d6adfd8757ac0c4b1fb31c98c2ed)

Download SlackBuild:
function2.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds