summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-12 09:24:20 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-12 09:24:20 -0400
commit0c1b3c8a38542b5aab10527cf411b57642b1f70f (patch)
tree1e14fbb757179416cb87ac7257d91de867524cb5 /indra/newview/llviewermenufile.cpp
parentc6e6f44f50b4de391000c5b9f781a2f0a5024e76 (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/newview/llviewermenufile.cpp')
0 files changed, 0 insertions, 0 deletions