mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 02:08:09 +08:00
refactor: move default value types to value.hpp
This commit is contained in:
@@ -960,6 +960,11 @@ class basic_value
|
||||
};
|
||||
};
|
||||
|
||||
// default toml::value and default array/table.
|
||||
using value = basic_value<discard_comments, std::unordered_map, std::vector>;
|
||||
using array = typename value::array_type;
|
||||
using table = typename value::table_type;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
template<typename C,
|
||||
|
Reference in New Issue
Block a user