DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces
daw_json_default_constuctor.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/concepts/daw_nullable_value.h"
#include "daw/json/daw_json_default_constuctor_fwd.h"
#include "daw/json/impl/daw_json_assert.h"
#include <daw/daw_attributes.h>
#include <daw/daw_enable_requires.h>
#include <daw/daw_move.h>
#include <daw/daw_scope_guard.h>
#include <array>
#include <cstddef>
#include <iterator>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  daw::json::anonymous_namespace{daw_json_default_constuctor.h}::default_constructor< std::array< T, Sz > >
 Default constructor type for std::array and allows (Iterator, Iterator) construction. More...
 
struct  daw::json::anonymous_namespace{daw_json_default_constuctor.h}::default_constructor< std::unordered_map< Key, T, Hash, CompareEqual, Alloc > >
 default constructor for std::unordered_map. Allows construction via (Iterator, Iterator, Allocator) More...
 
struct  daw::json::anonymous_namespace{daw_json_default_constuctor.h}::default_constructor< std::vector< T, Alloc > >
 Default constructor type for std::vector. For non-random iterators it reserves the known element count, or the ArrayReserve parse option when the count is unknown. More...
 
struct  daw::json::anonymous_namespace{daw_json_default_constuctor.h}::nullable_constructor< T DAW_ENABLEIF_S(concepts::is_nullable_value_v< T >)>
 Default constructor for readable nullable types. More...
 

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
 
namespace  daw::json::anonymous_namespace{daw_json_default_constuctor.h}