#include <compare>
#include <concepts>
#include <functional>
#include <optional>
#include <utility>
#include "Simple-Utility/Config.hpp"
#include "Simple-Utility/concepts/stl_extensions.hpp"
#include "Simple-Utility/nullables/base.hpp"
Go to the source code of this file.
|
concept | sl::value |
| Checks whether the given template type is usable as value type for unique_handle types.
|
|
concept | sl::delete_action_for |
| Checks whether the given template type is usable as delete action type for unique_handle types.
|
|
|
using | sl::bad_handle_access = std::bad_optional_access |
| exception type which indicates checked access to an uninitialized value
|
|
|
template<class T , class TDeleteAction > |
| sl::unique_handle (T, TDeleteAction) -> unique_handle< detail::type_t< detail::value_validator< T > >, detail::type_t< detail::delete_action_validator< T, TDeleteAction > > > |
| Deduction guide for unique_handle class.
|
|
template<class T > |
| sl::unique_handle (T) -> unique_handle< T > |
| Deduction guide for unique_handle class.
|
|
◆ SL_UNIQUE_HANDLE_FULL_CONSTEXPR
#define SL_UNIQUE_HANDLE_FULL_CONSTEXPR |