diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-12 09:24:20 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-12 09:24:20 -0400 |
commit | 0c1b3c8a38542b5aab10527cf411b57642b1f70f (patch) | |
tree | 1e14fbb757179416cb87ac7257d91de867524cb5 /indra/llcommon/llassettype.cpp | |
parent | c6e6f44f50b4de391000c5b9f781a2f0a5024e76 (diff) |
Specialize `std::numpunct<llwchar>` to fix broken MS `basic_ostream`.
MSVC's `std::basic_ostream<CHAR>` template is not implemented in a general way:
it can only be instantiated for certain specific `CHAR` types. Declaring a
`std::basic_ostringstream<llwchar>` fails on MSVC with C2941.
The ugly workaround from Stack Overflow is to clone-and-edit Microsoft's
`std::numpunct` template, locally specializing it for the desired `CHAR` type.
Diffstat (limited to 'indra/llcommon/llassettype.cpp')
0 files changed, 0 insertions, 0 deletions