A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
When compiling with clangd 19, this error happens:
In file included from /home/ivansbs/ivan/test_reflect/src/main.cpp:5: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl.hpp:32: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/Pattern.hpp:4: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/PatternValidator.hpp:9: /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/thirdparty/ctre.hpp:5439:27: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 5439 | return Method::template exec();
and i need to add -Wno-missing-template-arg-list-after-template-kw to be able to compile with it. This issue does not happen when compiling with gcc.
Using CMake and Ninja Build as well.
When compiling with clangd 19, this error happens:
In file included from /home/ivansbs/ivan/test_reflect/src/main.cpp:5: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl.hpp:32: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/Pattern.hpp:4: In file included from /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/PatternValidator.hpp:9: /home/ivansbs/ivan/test_reflect/reflect-cpp/include/rfl/thirdparty/ctre.hpp:5439:27: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 5439 | return Method::template exec();
and i need to add -Wno-missing-template-arg-list-after-template-kw to be able to compile with it. This issue does not happen when compiling with gcc. Using CMake and Ninja Build as well.