no wrapper
This commit is contained in:
parent
c2ec0d9ce8
commit
9b27c7db88
@ -90,13 +90,6 @@ struct map_wrapper;
|
|||||||
struct array_wrapper;
|
struct array_wrapper;
|
||||||
struct lambda_wrapper;
|
struct lambda_wrapper;
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
struct recursive_wrapper {
|
|
||||||
recursive_wrapper(T t_) { t.emplace_back(std::move(t_)); }
|
|
||||||
operator const T&() const { return t.front(); }
|
|
||||||
std::vector<T> t;
|
|
||||||
};
|
|
||||||
|
|
||||||
using node = std::variant<std::nullptr_t,
|
using node = std::variant<std::nullptr_t,
|
||||||
std::string,
|
std::string,
|
||||||
int,
|
int,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user