log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
minori
annotate dep/toml11/toml/into.hpp @ 318:
3b355fa948c7
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
config: use TOML instead of INI unfortunately, INI is not enough, and causes some paths including semicolons to break with our current storage of the library folders. so, I decided to switch to TOML which does support real arrays...
author
Paper <paper@paper.us.eu.org>
date
Wed, 12 Jun 2024 05:25:41 -0400 (8 months ago)
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
318
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
1
// Copyright Toru Niina 2019.
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
2
// Distributed under the MIT License.
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
3
#ifndef TOML11_INTO_HPP
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
4
#define TOML11_INTO_HPP
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
5
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
6
namespace toml
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
7
{
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
8
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
9
template<typename T>
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
10
struct into;
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
11
// {
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
12
// static toml::value into_toml(const T& user_defined_type)
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
13
// {
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
14
// // User-defined conversions ...
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
15
// }
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
16
// };
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
17
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
18
} // toml
3b355fa948c7
config: use TOML instead of INI
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
+
−
19
#endif // TOML11_INTO_HPP