Move to_json and from_json to root namespace

This commit is contained in:
Danny Robson 2012-06-05 22:50:31 +10:00
parent 932f7a4ec3
commit aad9a8377c

View File

@ -270,16 +270,16 @@ namespace json {
{ ; }
};
std::ostream&
operator <<(std::ostream &os, const json::node &n);
}
template <typename T>
json::node&& to_json (const T&);
template <typename T>
T&& from_json (const json::node&);
std::ostream&
operator <<(std::ostream &os, const json::node &n);
}
T from_json (const json::node&);
#endif