ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::boxing::compatibility::qt Namespace Reference

Description:

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

Function Index:

void BootstrapQTStringBoxing ()
 

Function Details:

◆ BootstrapQTStringBoxing()

void BootstrapQTStringBoxing ( )
inline

Initializes ALib Boxing in respect to boxing QT string-types.

This method is not automatically invoked with function 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 Monomem is included in the ALib Distribution, mutex GLOBAL_ALLOCATOR_LOCK has to be locked before an invocation.

Definition at line 76 of file qt_boxing.hpp.

Here is the call graph for this function: