From a343ffd2a183609d0a0ee4ffc4bc51bd0a23ebc3 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Fri, 21 Jun 2019 17:02:30 +0900 Subject: [PATCH] doc: update README --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cdd997f..7dda2d4 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ int main() } ``` -The convenient way is to add this repository as a git-submodule. +The convenient way is to add this repository as a git-submodule or to install +it in your system by CMake. ## Decoding a toml file @@ -485,11 +486,6 @@ toml::value v = /* ... */; if(v.is(toml::value_t::boolean)) // ... ``` -**NOTE**: BREAKING CHANGES from v2.y.z: `(is|as)_float` has been removed. -Use `(is|as)_floating` instead. -See [Breaking Changes from v2](#breaking-changes-from-v2) for the complete list -of breaking changes. - ## More about conversion Since `toml::find` internally uses `toml::get`, all the following examples work @@ -1066,8 +1062,8 @@ you can add conversion between `toml::value` and classes defined in another libr Note that you cannot implement both of the functions because the overload resolution of `toml::get` will be ambiguous. -If you want to convert arbitrary specialization of `toml::basic_value`, -templatize the conversion function as follows. +If you want to convert any versions of `toml::basic_value`, +you need to templatize the conversion function as follows. ```cpp struct foo