mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 00:33:15 +01:00
ircd::json: Move extern const strings out of value.h
This commit is contained in:
parent
0d8a646ccc
commit
aefca6bea4
2 changed files with 7 additions and 7 deletions
|
@ -61,6 +61,13 @@ namespace ircd::json
|
|||
using path = std::initializer_list<string_view>;
|
||||
std::ostream &operator<<(std::ostream &, const path &);
|
||||
|
||||
extern const string_view literal_null;
|
||||
extern const string_view literal_true;
|
||||
extern const string_view literal_false;
|
||||
extern const string_view empty_string;
|
||||
extern const string_view empty_object;
|
||||
extern const string_view empty_array;
|
||||
|
||||
/// These templates are generic frontends for building a JSON string. They
|
||||
/// eventually all lead to the stringify() friend function of the argument
|
||||
/// you pass to the template.
|
||||
|
|
|
@ -28,13 +28,6 @@ namespace ircd::json
|
|||
|
||||
using values = std::initializer_list<value>;
|
||||
|
||||
extern const string_view literal_null;
|
||||
extern const string_view literal_true;
|
||||
extern const string_view literal_false;
|
||||
extern const string_view empty_string;
|
||||
extern const string_view empty_object;
|
||||
extern const string_view empty_array;
|
||||
|
||||
size_t serialized(const bool &);
|
||||
size_t serialized(const value *const &begin, const value *const &end);
|
||||
size_t serialized(const values &);
|
||||
|
|
Loading…
Reference in a new issue