[ Bron: tl-optional ]
Pakket: libtl-optional-dev (1.1.0-2)
Verwijzigingen voor libtl-optional-dev
Debian bronnen:
Het bronpakket tl-optional downloaden:
Beheerder:
Externe bronnen:
- Homepage [github.com]
Vergelijkbare pakketten:
C++11/14/17 std::optional with functional-style extensions
std::optional is the preferred way to represent an object which may or may not have a value. Unfortunately, chaining together many computations which may or may not produce a value can be verbose, as empty-checking code will be mixed in with the actual programming logic. This implementation provides a number of utilities to make coding with optional cleaner.