mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
constructor sometimes has `template<T> ctor(const T&)` and it causes ambiguity. To avoid it, from<T> and T.from_toml precedes any constructor. But, to check the ambiguity between from<T> and from_toml, they do not precede each other. If anyone define both from<T> and from_toml, it causes compilation error.
37 KiB
37 KiB