doc: update README

This commit is contained in:
ToruNiina
2019-06-20 15:22:20 +09:00
parent a0d74a5542
commit 7d087ef2a8

View File

@@ -704,10 +704,6 @@ toml::integer opt = 42;
toml::integer& i = toml::get_or(v, opt); // this works. toml::integer& i = toml::get_or(v, opt); // this works.
``` ```
There is also a function `find_or`, but there is a known issue around overload
resolution. To use it, passing a `toml::value`, not a `toml::table`, is strongly
recommended.
## Expecting conversion ## Expecting conversion
By using `toml::expect`, you will get your expected value or an error message By using `toml::expect`, you will get your expected value or an error message