This namespace documents compatibility features of ALib Boxing and the standard C++ class library found in namespace std
.
Function Index: | |
void | BootstrapStdStringBoxing () |
template<typename TElement > | |
void | CopyToVector (::std::vector< TElement > &target, const Box &box) |
|
inline |
Initializes ALib Boxing in respect to std::string
-types.
This method is not automatically invoked with function Bootstrap, because support for boxing std::string
-types is optional and provided with the inclusion of header alib/compatibility/std_boxing.hpp.
In general boxing of std::string
-types works well without the one-time invocation of this function at the bootstrap of a process. This method registers box-function FAppend for std::string
-types types when custom boxing is bypassed by wrapping the types in std::reference_wrapper<T>
. The function is implemented with the help of FAppend::WrappedAppendable for wrapped std::string
-types, each for character types nchar and wchar.
Definition at line 177 of file std_boxing.hpp.
|
inline |
Creates a deep copy of a boxed C++ array type by appending its contents to a given std::vector
of corresponding element type.
Note that no type checks are performed on the given box.
TElement | The element type. |
target | The target vector to fill. |
box | The source box of type TElement[]. |
Definition at line 138 of file std_boxing.hpp.