ALib C++ Framework
by
Library Version: 2605 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::strings::APPENDABLES::AppendableTraits< lang::CallerInfo, TChar, TAllocator > Struct Template Reference

Description:

template<typename TChar, typename TAllocator>
struct alib::strings::APPENDABLES::AppendableTraits< lang::CallerInfo, TChar, TAllocator >

Specialization of functor AppendableTraits for type CallerInfo.
This functor writes all information available in a standard format. A more flexible way is provided with formatter type FMTCallerInfo that defines a format string to pick certain fields of the CallerInfo. This format specification is also availble in placeholders of type FormatterPythonStyle.

Definition at line 229 of file appendables.hpp.

#include <appendables.hpp>

Public Method Index:

void operator() (TAString< TChar, TAllocator > &target, const lang::CallerInfo &ci)

Method Details:

◆ operator()()

template<typename TChar, typename TAllocator>
void alib::strings::APPENDABLES::AppendableTraits< lang::CallerInfo, TChar, TAllocator >::operator() ( TAString< TChar, TAllocator > & target,
const lang::CallerInfo & ci )

Writes thread and source location.

Parameters
targetThe AString that Append(const TAppendable&) was invoked on.
ciThe caller information to write to target.

The documentation for this struct was generated from the following file: