Niels Lohmann

Results 421 comments of Niels Lohmann

PTAL: #4758. I currently fail to create a test case for this.

Please file a report somewhere at NuGet.

Indeed we compile with `-Wno-weak-vtables` in the CI. I will have a look.

Ok, I'm getting to the boundaries of my C++ knowledge. I can fix the `-Wweak-vtables` warning by adding ```cpp ~exception() override; ``` to the class definition and add ```cpp exception::~exception()...

I added a diagnostic push to suppress the warning in #4500. PTAL.

Thanks for the effort! However, adding two `size_t` members is a lot of overhead. When we introduced diagnostics, we hid a single pointer behind a preprocessor macro to avoid every...

A very wild idea: why not adding another macro like DIAGNOSTIC_POSITIONS and implement this without inheritance?

> The ci_clang_tidy job keeps complaining about the parser callback being passed by value in json_sax, but that’s not really any code we’re modifying in this PR. What’s the suggestion...

> > ## 🔴 Amalgamation check failed! 🔴 > > The source code has not been amalgamated. @sushshring Please read and follow the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop/.github/CONTRIBUTING.md#files-to-change). > > Not sure why...