|
Botan 3.14.1
Crypto and TLS for C&
|
Public Header. More...
#include <botan/concepts.h>#include <concepts>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| struct | Botan::is_strong_span< typename > |
| struct | Botan::is_strong_span< StrongSpan< T > > |
| struct | Botan::is_strong_type< Ts > |
| struct | Botan::is_strong_type< Strong< Ts... > > |
| struct | Botan::detail::wrapped_type_helper< T > |
| struct | Botan::detail::wrapped_type_helper< T > |
Namespaces | |
| namespace | Botan |
| namespace | Botan::concepts |
| namespace | Botan::detail |
Concepts | |
| concept | Botan::concepts::contiguous_strong_type |
| concept | Botan::concepts::integral_strong_type |
| concept | Botan::concepts::strong_type |
| concept | Botan::concepts::unsigned_integral_strong_type |
Typedefs | |
| template<typename T> | |
| using | Botan::strong_type_wrapped_type = typename detail::wrapped_type_helper<std::remove_cvref_t<T>>::type |
| Extracts the wrapped type from a strong type. | |
Functions | |
| template<typename T> | |
| constexpr decltype(auto) | Botan::unwrap_strong_type (T &&t) |
| Generically unwraps a strong type to its underlying type. | |
| template<typename T, typename ParamT> | |
| constexpr decltype(auto) | Botan::wrap_strong_type (ParamT &&t) |
| Wraps a value into a caller-defined (strong) type. | |
Variables | |
| template<typename T> | |
| constexpr bool | Botan::is_strong_span_v = is_strong_span<T>::value |
| template<typename... Ts> | |
| constexpr bool | Botan::is_strong_type_v = is_strong_type<std::remove_const_t<Ts>...>::value |
Public Header.
Definition in file strong_type_helpers.h.