DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
daw_json_writer.h File Reference
#include "daw/json/impl/version.h"
#include "daw/json/concepts/daw_writable_output.h"
#include "daw/json/daw_json_link.h"
#include <daw/daw_move.h>
#include <daw/traits/daw_traits_remove_cvref.h>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  daw::json::anonymous_namespace{daw_json_writer.h}::json_writer_t< WritableType, StackType, PolicyFlags >
 

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

Functions

template<auto... PolicyFlags, typename WriterType >
constexpr auto daw::json::anonymous_namespace{daw_json_writer.h}::json_writer (WriterType &&writer DAW_LIFETIME_BOUND)