DAW JSON Link
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
daw_nullable_value_fwd.h File Reference
#include "daw/json/impl/version.h"
#include "daw/daw_callable.h"
#include <daw/daw_cpp_feature_check.h>
#include <daw/daw_enable_requires.h>
#include <daw/daw_is_detected.h>
#include <cstddef>
#include <type_traits>

Go to the source code of this file.

Classes

struct  daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_empty_t
 
struct  daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_pointer_t
 
struct  daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_value_t
 
struct  daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::nullable_value_traits< T,... >
 Readable values models an option/maybe/nullable type. 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_nullable_value_fwd.h}
 
namespace  daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts
 

Typedefs

template<typename T >
using daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::nullable_value_type_t = typename nullable_value_traits< T >::value_type
 Determines the type stored inside T.
 

Functions

template<typename T >
constexpr bool daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::nullable_value_has_value (T const &opt)
 Check if nullable value has a value.
 
template<typename T >
constexpr auto const & daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::nullable_value_read (T const &opt)
 Read value from a non-empty nullable value.
 

Variables

constexpr auto daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_empty
 
constexpr auto daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_pointer
 
constexpr auto daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::construct_nullable_with_value
 
template<typename T >
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_empty_constructible_v
 
template<typename T >
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_empty_nothrow_constructible_v
 
template<typename T , typename... Args>
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_pointer_constructible_v
 
template<typename T , typename... Args>
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_value_constructible_v
 
template<typename T , typename... Args>
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_value_nothrow_constructible_v
 
template<typename T >
DAW_CPP20_CONCEPT daw::json::anonymous_namespace{daw_nullable_value_fwd.h}::concepts::is_nullable_value_v
 Is T a nullable type.