10#ifndef HPP_ALIB_COMPATIBILITY_STD_BOXING
11#define HPP_ALIB_COMPATIBILITY_STD_BOXING
19#include "alib/compatibility/std_strings.hpp"
30namespace compatibility {
56template<
typename TElement,
size_t N>
94DOX_MARKER([DOX_BOXING_CUSTOM_VECTOR])
95template<
typename TElement>
106 target.
Write( value.data(),
static_cast<integer>( value.size() ) );
113DOX_MARKER([DOX_BOXING_CUSTOM_VECTOR])
127namespace compatibility {
namespace std {
136DOX_MARKER([DOX_BOXING_SAMPLE_ARR_UNBOX_VECTOR_IMPLEMENTATION])
137template<
typename TElement>
140 target.reserve( target.size() +
size_t( box.
UnboxLength() ) );
144DOX_MARKER([DOX_BOXING_SAMPLE_ARR_UNBOX_VECTOR_IMPLEMENTATION])
179 #if ALIB_STRINGS && ALIB_BOXING
185 #if ALIB_SIZEOF_WCHAR_T == 4
integer UnboxLength() const
TElementType & UnboxElement(integer idx) const
#define ALIB_ASSERT_MODULE(modulename)
#define ATMP_VOID_IF(Cond)
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 Read(const Placeholder &src)
static void Write(Placeholder &target, const std::array< TElement, N > &value)
static void Read(const Placeholder &src)
static void Write(Placeholder &target, const std::vector< TElement > &value)
void Write(const TMapped &value)