mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-16 16:28:09 +08:00
second
arg -> third
arg in parser.md/istream parse
This commit is contained in:
@@ -90,7 +90,7 @@ Parses the content of the given `std::istream&`.
|
|||||||
|
|
||||||
Open a stream in binary mode by passing `std::ios::binary` to avoid inconsistency between the file size and the number of characters due to automatic conversion of newline characters by the standard library.
|
Open a stream in binary mode by passing `std::ios::binary` to avoid inconsistency between the file size and the number of characters due to automatic conversion of newline characters by the standard library.
|
||||||
|
|
||||||
The filename information is taken as the third argument. If the filename is not provided, it defaults to `"unknown file"`.
|
The filename information is taken as the second argument. If the filename is not provided, it defaults to `"unknown file"`.
|
||||||
|
|
||||||
### `parse(FILE*, std::string filename, toml::spec)`
|
### `parse(FILE*, std::string filename, toml::spec)`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user