9 #include "opthelpers.h"
14 backend_exception::backend_exception(ALCenum code
, const char *msg
, ...) : mErrorCode
{code
}
19 int msglen
{std::vsnprintf(nullptr, 0, msg
, args
)};
22 mMessage
.resize(static_cast<size_t>(msglen
)+1);
23 std::vsnprintf(&mMessage
[0], mMessage
.length(), msg
, args2
);