Le 6 février 2025 23:42:57 GMT+01:00, Thibaut Cuvelier <tcuvel...@lyx.org> a écrit : >commit 3d7d76f578aa48a6b2add2b75b779eebe001723f >Author: Thibaut Cuvelier <tcuvel...@lyx.org> >Date: Thu Feb 6 23:35:02 2025 +0100 > > In MathStream, change MTag and family to use `str::string` instead of C > strings. > > `string_view`s would be a great replacement for `const std::string &`, by > the way.
In theory we are free to use it since we require c++17 in master. Would it make the code simpler ? I guess the performance impact will be negligible (but I might be wrong). JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel