An empty type defining an overload of SetCodeAndDescription method that discards Printf formatting during construction of an exception description.
More...
#include <chsvexception.h>
template<class code_t = unsigned long, class = typename std::enable_if<std::is_integral<code_t>::value || std::is_enum<code_t>::value>::type>
struct Chusov::Exceptions::ExceptionWithGenericCode< code_t, class >::noprintf
An empty type defining an overload of SetCodeAndDescription method that discards Printf formatting during construction of an exception description.
Example:
this->
SetCodeAndDescription(nCode, objGetDescriptionByCode, pTags, cTags, noprintf(), pszTagFormatString);
auto SetCodeAndDescription(code_t nCode, const char_t *lpszDescription) noexcept -> std::enable_if_t< std::is_integral< char_t >::value >
Sets a new error code and description without any formatting.
Definition: chsvexception.h:710
The documentation for this struct was generated from the following file: