You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, internal::ArgMap<Char>::init is defined inside format.cc and explicitly instantiated for char and wchar_t, even though the function itself is char type agnostic. This leads to issues using a character type other than these two. The easiest solution is to simply move the function definition into format.h. I am unsure on the compile time impact of such a change, although it would seem to be negligible, especially considering that most other functions are not explicitly instantiated (with the exception of format_float for understandable reasons and FixedBuffer::grow).
The text was updated successfully, but these errors were encountered:
Currently,
internal::ArgMap<Char>::init
is defined insideformat.cc
and explicitly instantiated forchar
andwchar_t
, even though the function itself is char type agnostic. This leads to issues using a character type other than these two. The easiest solution is to simply move the function definition intoformat.h
. I am unsure on the compile time impact of such a change, although it would seem to be negligible, especially considering that most other functions are not explicitly instantiated (with the exception offormat_float
for understandable reasons andFixedBuffer::grow
).The text was updated successfully, but these errors were encountered: