|
Simple-Utility v2.3.1
|
#include "Simple-Utility/Config.hpp"#include "Simple-Utility/concepts/operators.hpp"#include "Simple-Utility/concepts/stl_extensions.hpp"#include <cstddef>#include <functional>#include <type_traits>Go to the source code of this file.
Classes | |
| struct | sl::nullables::traits< T > |
| Specialization for raw pointers. More... | |
| class | sl::nullables::Algorithm< Operation > |
The core algorithm helper, which executes the held operation when used as the right-hand-side of operator | expressions, when the left-hand-side is a valid nullable type. More... | |
Namespaces | |
| namespace | sl |
| namespace | sl::nullables |
Concepts | |
| concept | sl::nullables::input_nullable |
| Checks whether a type is an input_nullable. | |
| concept | sl::nullables::nullable |
| Checks whether a type is nullable. | |
Typedefs | |
| template<class T > | |
| using | sl::nullables::value_t = typename traits< std::remove_cvref_t< T > >::value_type |
| Convenience alias retrieving the value type of a nullable type. | |
Variables | |
| template<class T > | |
| static constexpr auto | sl::nullables::null_v {traits<std::remove_cvref_t<T>>::null} |
| Convenience constant retrieving the null object of a nullable type. | |
| constexpr detail::unwrap_fn | sl::nullables::unwrap {} |
| Retrieves the value of the given input_nullable. | |