-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also: - simplified `const` handling in `node_view`
- Loading branch information
Showing
9 changed files
with
261 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,6 @@ Given a TOML file `configuration.toml` containing the following: | |
```toml | ||
[library] | ||
name = "toml++" | ||
version = "0.3.3" | ||
authors = ["Mark Gillard <[email protected]>"] | ||
|
||
[dependencies] | ||
|
@@ -35,7 +34,6 @@ auto config = toml::parse_file( "configuration.toml" ); | |
|
||
// get key-value pairs | ||
std::string_view library_name = config["library"]["name"].value_or(""sv); | ||
std::string_view library_version = config["library"]["version"].value_or(""sv); | ||
std::string_view library_author = config["library"]["authors"][0].value_or(""sv); | ||
int64_t depends_on_cpp_version = config["dependencies"]["cpp"].value_or(0); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.