SlackBuilds Repository

15.0 > Libraries > function2 (4.2.3)

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
types
* 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

Homepage:
https://github.com/Naios/function2

Source Downloads:
function2-4.2.3.tar.gz (24519882c41ec083c080ae79016add3c)

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

(the SlackBuild does not include the source)

Individual Files:
README
function2.SlackBuild
function2.info
slack-desc

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-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds