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 formated write to an exception message string.

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.

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