parser icon indicating copy to clipboard operation
parser copied to clipboard

MSVC Compiler 2022 C++23 compilation error

Open d5ch4k opened this issue 9 months ago • 1 comments

The MSVC compiler 2022 C++23 cannot compile the following lines from e.g. test/transform_replace.cpp, test/split.cpp, test/search.cpp

        char const * str_ = "XYZ";
        auto str = str_ | bp::as_utf8;

as it cannot find a suitable pipe operator however, using a fixed size array char const str_[] = "XYZ" works fine

d5ch4k avatar May 05 '24 22:05 d5ch4k