AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ FmtWrite() [1/2]

template<typename T , typename... Types>
void drama::Exception::FmtWrite ( const char format,
value,
Types...  args 
)
inline

Safe formatted write to an exception message string.

Deprecated:
Please use the FmtWriteF() version. That matches the more modern C++ style and is safer.
Parameters
formatThe format string. Each % character is to be replaced by the corresponding argument. Note - only the % is needed and used, don't do for example "%d". To output a %, use "%%".
valueThe first argument.
argsArguments to the format. Any arbitrary types can be formatted as long as an overload of the << operator is available for that type.
Template Parameters
TThe type of the value to be formatted
TypesOther types to be formatted.

References drama::CreateRunDramaTask(), DramaTHROW, and FmtWrite().