Simple-Utility v2.3.1
|
#include "Simple-Utility/Config.hpp"
#include "Simple-Utility/concepts/stl_extensions.hpp"
#include "Simple-Utility/nullables/base.hpp"
#include <cassert>
#include <ranges>
Go to the source code of this file.
Classes | |
struct | sl::nullables::adapter_null_t |
Dedicated null type for adapters. More... | |
struct | sl::nullables::in_place_null_t |
Tag type for adapters, which can be used to disambiguate the construction with just a null-object. More... | |
class | sl::nullables::adapter< TNull, TAdapted > |
A adapter class, mimic the behaviour of nullable types. More... | |
struct | sl::nullables::traits< adapter< TNull, TAdapted > > |
Specialization for raw pointers. More... | |
Namespaces | |
namespace | sl |
namespace | sl::nullables |
Concepts | |
concept | sl::nullables::adaptable_with |
Determines whether the given adapted and null type satisfy the requirements to be used within a adapter. | |
Typedefs | |
template<class T > | |
using | sl::nullables::adapted_value_t = std::remove_cvref_t< decltype(unwrap_adapted(std::declval< T >()))> |
Variables | |
constexpr detail::unwrap_adapted_fn | sl::nullables::unwrap_adapted {} |