8#ifndef H_ALIB_BOXING_STDBOXTRAITS
9#define H_ALIB_BOXING_STDBOXTRAITS
57template<
typename TElement,
size_t N>
58requires ( !characters::IsCharacter<TElement> )
96DOX_MARKER([DOX_BOXING_CUSTOM_VECTOR])
97template<
typename TElement>
119DOX_MARKER([DOX_BOXING_CUSTOM_VECTOR])
138DOX_MARKER([DOX_BOXING_SAMPLE_ARR_UNBOX_VECTOR_IMPLEMENTATION])
139template<
typename TElement>
142 target.reserve( target.size() +
size_t( box.
UnboxLength() ) );
146DOX_MARKER([DOX_BOXING_SAMPLE_ARR_UNBOX_VECTOR_IMPLEMENTATION])
181 #if ALIB_STRINGS && ALIB_BOXING
189 #if ALIB_SIZEOF_WCHAR_T == 4
TElementType & UnboxElement(integer idx) const
integer UnboxLength() const
void BootstrapStdStringBoxing()
void CopyToVector(::std::vector< TElement > &target, const Box &box)
void BootstrapRegister(typename TFDecl::Signature function)
lang::integer integer
Type alias in namespace alib.
static void WrappedAppendable(const Box &self, strings::TAString< TChar, TAllocator > &target)
static void Write(Placeholder &box, const std::array< TElement, N > &value)
static void Read(const Placeholder &box)
static constexpr bool IsArray
Mapped as array-type.
TElement Mapping
Mapped type is TElement[].
static void Write(Placeholder &box, const std::vector< TElement > &value)
TElement Mapping
Mapped type is TElement[].
static void Read(const Placeholder &box)
static constexpr bool IsArray
Mapped as array-type.
constexpr void Write(const TIntegral &value)