moneroexamples 2017-04-28 13:45:30 +08:00
parent 40d87bdab4
commit 468f927e8b
37 changed files with 3349 additions and 16147 deletions

View file

@ -94,7 +94,7 @@ class lambda_t {
}
using node = boost::make_recursive_variant<
std::nullptr_t, std::string, int, double, bool, uint64_t, uint32_t,
std::nullptr_t, std::string, int, double, bool, uint64_t, int64_t, uint32_t,
internal::lambda_t<boost::recursive_variant_>,
std::shared_ptr<internal::object_t<boost::recursive_variant_>>,
std::map<const std::string, boost::recursive_variant_>,

View file

@ -38,6 +38,12 @@ class render_node: public boost::static_visitor<std::string> {
return ss.str();
}
std::string operator()(const int64_t& value) const {
std::stringstream ss;
ss << value;
return ss.str();
}
std::string operator()(const uint32_t& value) const {
std::stringstream ss;
ss << value;