DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces
daw_json_exec_modes.h File Reference
#include "daw/json/daw_json_switches.h"
#include "daw/json/impl/version.h"
#include <daw/daw_cpp_feature_check.h>
#include <daw/daw_is_constant_evaluated.h>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Classes

struct  daw::json::anonymous_namespace{daw_json_exec_modes.h}::constexpr_exec_tag
 
struct  daw::json::anonymous_namespace{daw_json_exec_modes.h}::default_exec_tag
 
struct  daw::json::anonymous_namespace{daw_json_exec_modes.h}::runtime_exec_tag
 
struct  daw::json::anonymous_namespace{daw_json_exec_modes.h}::simd_exec_tag
 

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_exec_modes.h}