Metall  v0.28
A persistent memory allocator for data-centric analytics
json_fwd.hpp File Reference
#include <string>
#include <variant>
#include <boost/json.hpp>
#include <metall/container/string.hpp>

Go to the source code of this file.

Namespaces

 metall::json
 Namespace for Metall JSON container, which is in an experimental phase.
 
 metall
 The top level of namespace of Metall.
 

Macros

#define METALL_LINK_WITH_BOOST_JSON
 Contains forward declarations and type alias of Metall JSON container. More...
 
#define METALL_BOOST_JSON_SRC_INCLUDED
 Include guard for boost/json/src.hpp. More...
 

Typedefs

using metall::json::null_type = std::monostate
 JSON null type. More...
 
template<typename char_t , typename traits , typename allocator_type >
using metall::json::basic_string = metall::container::basic_string< char_t, traits, allocator_type >
 JSON basic string type. More...
 
template<typename allocator_type = std::allocator<std::byte>>
using metall::json::string = basic_string< char, std::char_traits< char >, allocator_type >
 JSON string. More...
 

Macro Definition Documentation

◆ METALL_LINK_WITH_BOOST_JSON

#define METALL_LINK_WITH_BOOST_JSON

Contains forward declarations and type alias of Metall JSON container.

If defined, link with a buit Boost.JSON.

◆ METALL_BOOST_JSON_SRC_INCLUDED

#define METALL_BOOST_JSON_SRC_INCLUDED

Include guard for boost/json/src.hpp.