menu page queries
This commit is contained in:
@@ -386,3 +386,7 @@ std::unique_ptr<Value> Value::of(number_u value) {
|
||||
std::unique_ptr<Value> Value::of(const std::string& value) {
|
||||
return std::make_unique<Value>(valtype::string, value);
|
||||
}
|
||||
|
||||
std::unique_ptr<Value> Value::of(std::unique_ptr<Map> value) {
|
||||
return std::make_unique<Value>(valtype::map, value.release());
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace dynamic {
|
||||
static std::unique_ptr<Value> boolean(bool value);
|
||||
static std::unique_ptr<Value> of(number_u value);
|
||||
static std::unique_ptr<Value> of(const std::string& value);
|
||||
static std::unique_ptr<Value> of(std::unique_ptr<Map> value);
|
||||
};
|
||||
|
||||
class List {
|
||||
|
||||
Reference in New Issue
Block a user