ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Functions
aworx::lib::boxing::compatibility::qt Namespace Reference

This namespace documents compatibility features of ALib Boxing and the QT Class Library .

Functions

void BootstrapQTStringBoxing ()
 

Function Documentation

◆ BootstrapQTStringBoxing()

void BootstrapQTStringBoxing ( )
inline

Initializes ALib Boxing in respect to boxing QT string types.

This method is not automatically invoked with ALibDistribution::Bootstrap, because support for boxing QT string types is optional and provided with the inclusion of header alib/compatibility/qt_boxing.hpp.

In general, boxing of QT string types works well without the one-time invocation of this function at the bootstrap section of a process. This method registers box-function FAppend for QT string 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 types QByteArray, QQLatin1String and QString, each for character types nchar and wchar.

Note
If invoked after bootstrap and module ALib Memory is included in the ALib Distribution, mutex GlobalAllocatorLock has to be locked prior to an invocation.

Definition at line 88 of file qt_boxing.hpp.