We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is from a unit-test from a larger codebase.
TEST_CASE("toml.udl - namespace toml::literals", "does not compile") { using namespace toml::literals; // BUG reference to ?literals? is ambiguous auto table = "[table]\nkey=\"value\""_toml; } TEST_CASE("toml.udl - namespace toml::v2::ex::literals", "does compile") { using namespace toml::v2::ex::literals; auto table = "[table]\nkey=\"value\""_toml; }
This fails with (message slightly filtered):
error: reference to ?literals? is ambiguous 112 | using namespace toml::literals; /usr/include/toml++/toml_parser.h:729:19: note: candidates are: ?namespace toml::v2::ex::literals { }? 729 | inline namespace literals | ^~~~~~~~ /usr/include/toml++/toml_common.h:218:19: note: ?namespace toml::v2::literals { }? 218 | inline namespace literals {} | ^~~~~~~~
As per example in toml_common:200 that should work.
toml_common:200
The text was updated successfully, but these errors were encountered:
Forgot to mention: GCC 9.3.0 and tomlplusplus-2.2.0.
Sorry, something went wrong.
44c7da2
Yup. Should be fixed now in master, thanks @std-any-emplace!
master
marzer
No branches or pull requests
This is from a unit-test from a larger codebase.
This fails with (message slightly filtered):
As per example in
toml_common:200
that should work.The text was updated successfully, but these errors were encountered: