mrdocs::Optional::is_inlined
Determine if the value is inlined via nullable traits.
Synopsis
Declared in <mrdocs/ADT/Optional.hpp>
constexpr
static
bool
is_inlined() noexcept;
Description
This is a compile‐time property of T. If nullable_traits<T> is not specialized, this function returns false to indicate that the optional uses std::optional<T> as storage with an extra discriminator. If nullable_traits<T> is specialized, this function returns true to suggest that the null state is encoded inside T and no extra storage is used.
Return Value
true if the optional uses nullable_traits<T> for storage.
Created with MrDocs