ISpanStream Bug
- OpenFOAM version : v2312 - Operating system : Ubuntu-2204 - Compiler : gcc-14.3 example code ```cpp #include "fvCFD.H" #include "ISpanStream.H" int main(int argc, char* argv[]) { { auto str = "12345"; auto ips = ISpanStream(str, {IOstreamOption::ASCII}); Info << "ISpanStream content: " << ips.list() << nl; } { string str = "12345"; auto ips = ISpanStream(str, {IOstreamOption::ASCII}); Info << "ISpanStream content: " << ips.list() << nl; } { std::string_view str = "12345"; auto ips = ISpanStream(str, {IOstreamOption::ASCII}); Info << "ISpanStream content: " << ips.list() << nl; } } ``` result: ```bash ISpanStream content: 0 ISpanStream content: 5 (12345) ISpanStream content: 5 (12345) ```
issue