Go to the documentation of this file.
10 #ifndef MSGPACK_V1_TYPE_STRING_VIEW_HPP
11 #define MSGPACK_V1_TYPE_STRING_VIEW_HPP
13 #if __cplusplus >= 201703
19 #include <string_view>
30 struct convert<std::string_view> {
48 struct pack<std::string_view> {
49 template <
typename Stream>
59 struct object<std::string_view> {
69 struct object_with_zone<std::string_view> {
84 #endif // __cplusplus >= 201703
86 #endif // MSGPACK_V1_TYPE_STRING_VIEW_HPP
@ STR
Definition: object_fwd_decl.hpp:39
const char * ptr
Definition: object_fwd.hpp:39
The class template that supports continuous packing.
Definition: adaptor_base_decl.hpp:24
Definition: adaptor_base.hpp:15
const char * ptr
Definition: object_fwd.hpp:34
@ BIN
Definition: object_fwd_decl.hpp:40
uint32_t size
Definition: object_fwd.hpp:38
packer< Stream > & pack_str_body(const char *b, uint32_t l)
Packing str body.
Definition: pack.hpp:1220
uint32_t checked_get_container_size(T size)
Definition: check_container_size.hpp:55
void operator()(msgpack::object &o, T const &v) const
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
union_type via
Definition: object_fwd.hpp:93
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:1194
void pack(msgpack::packer< Stream > &o, const T &v)
Definition: object.hpp:1201
std::size_t size(T const &t)
Definition: size_equal_only.hpp:24
uint32_t size
Definition: object_fwd.hpp:33
msgpack::object_bin bin
Definition: object_fwd.hpp:88
Definition: object_fwd.hpp:236
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, T const &v) const
Definition: object.hpp:650
msgpack::object const & operator()(msgpack::object const &o, T &v) const
Definition: object.hpp:641
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
packer< Stream > & pack_str(uint32_t l)
Packing str header and length.
Definition: pack.hpp:1197
Definition: object.hpp:35
msgpack::type::object_type type
Definition: object_fwd.hpp:92
msgpack::object_str str
Definition: object_fwd.hpp:87
void operator()(msgpack::object::with_zone &o, T const &v) const
Definition: object.hpp:657