Namespaces
Variants
Views
Actions

Talk:cpp/locale/codecvt

From cppreference.com

Hi,

The example for https://en.cppreference.com/w/cpp/locale/codecvt doesn't work for C++2a with GCC 9 complains about mixing char and char_t I tried to change data to u8string but then << was not defined

Fixed with reinterpret_cast. --Fruderica (talk) 04:02, 9 October 2019 (PDT)