From 5c3c1bd0e7939f2d9ec3fec01e55d92ccbbf5a7b Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 1 Jun 2019 20:18:15 +0900 Subject: [PATCH] feat: add missing default array/table type --- toml/types.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toml/types.hpp b/toml/types.hpp index 31e7717..e752507 100644 --- a/toml/types.hpp +++ b/toml/types.hpp @@ -33,6 +33,9 @@ using floating = double; // "float" is a keyward, cannot use it here. // default toml::value and default array/table using value = basic_value; +// TODO: consider to move these after including `value.hpp` +using array = std::vector; // typename value::array_type; +using table = std::unordered_map; // typename value::table_type; enum class value_t : std::uint8_t {