mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 19:10:11 +08:00
feat: use comment macro everywhere
This commit is contained in:
@@ -1739,7 +1739,8 @@ class basic_value
|
||||
};
|
||||
|
||||
// default toml::value and default array/table.
|
||||
using value = basic_value<discard_comments, std::unordered_map, std::vector>;
|
||||
// TOML11_DEFAULT_COMMENT_STRATEGY is defined in comments.hpp
|
||||
using value = basic_value<TOML11_DEFAULT_COMMENT_STRATEGY, std::unordered_map, std::vector>;
|
||||
using array = typename value::array_type;
|
||||
using table = typename value::table_type;
|
||||
|
||||
|
Reference in New Issue
Block a user