DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
daw_json_boost_pfr_mapping.h File Reference
#include "daw/daw_tuple_forward.h"
#include "daw/json/daw_json_link.h"
#include <daw/daw_attributes.h>
#include <boost/pfr.hpp>
#include <daw/stdinc/tuple_traits.h>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

struct  daw::json::json_data_contract< T >
 

Namespaces

namespace  daw
 
namespace  daw::json
 string_writer grows its string with resize_and_overwrite, leaving the new bytes uninitialized, when the standard library has it. That skips zero filling memory that is overwritten right away, but the bytes past what was written are never initialized, which resize_and_overwrite's precondition does not allow. Define DAW_JSON_NO_LESS_SAFE_STRING_WRITER to grow with resize( ) instead
 

Variables

template<typename T >
constexpr bool daw::json::use_boost_pfr = false
 Enable Boost PFR mappings for a type.