Re:Learn Modern C++
by gumby on Wednesday December 27, 2023 @03:12AM
(#38780056)
I just glanced at Lohmann-JSON which just uses them for the json elements themselves (there’s a comment that says “raw pointers to save space” and spdlog and fmtlib which appear to use them only to interface to C APIs and *this. That was just a quick glance at some libs we use.
I have seen them used in the PIMPL idiom, which is a rather controlled case.
I have seen them used in the PIMPL idiom, which is a rather controlled case.