mirror of
https://github.com/TartanLlama/optional.git
synced 2025-06-25 00:51:37 +02:00
Update README.md
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
|
||||
Single header implementation of `std::optional` with functional-style extensions and support for references.
|
||||
|
||||
[](https://tl.tartanllama.xyz/en/latest/?badge=latest)
|
||||
Clang + GCC: [](https://travis-ci.org/TartanLlama/optional)
|
||||
MSVC: [](https://ci.appveyor.com/project/TartanLlama/optional)
|
||||
[](https://tl.tartanllama.xyz/en/latest/?badge=latest)
|
||||
|
||||
`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.
|
||||
|
||||
|
Reference in New Issue
Block a user