DAW JSON Link
include
daw
json
impl
daw_json_arrow_proxy.h
Go to the documentation of this file.
1
// Copyright (c) Darrell Wright
2
//
3
// Distributed under the Boost Software License, Version 1.0. (See accompanying
4
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
5
//
6
// Official repository: https://github.com/beached/daw_json_link
7
//
8
#pragma once
9
10
#include "
version.h
"
11
12
#include <daw/daw_attributes.h>
13
14
namespace
daw::json
{
15
inline
namespace
DAW_JSON_VER
{
16
namespace
json_details {
17
template
<
typename
T>
18
struct
arrow_proxy {
19
T value;
20
21
[[nodiscard]] DAW_ATTRIB_RET_NONNULL constexpr T *operator->( ) && {
22
return
&value;
23
}
24
};
25
}
// namespace json_details
26
}
// namespace DAW_JSON_VER
27
}
// namespace daw::json
daw::json
Customization point traits.
Definition:
daw_container_traits.h:22
version.h
DAW_JSON_VER
#define DAW_JSON_VER
The version string used in namespace definitions. Must be a valid namespace name.
Definition:
version.h:25
Generated by
1.9.1