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 Definition: object_fwd_decl.hpp:39
const char * ptr
Definition: object_fwd.hpp:39
uint32_t checked_get_container_size(T size)
Definition: check_container_size.hpp:55
union_type via
Definition: object_fwd.hpp:93
Definition: object_fwd_decl.hpp:40
uint32_t size
Definition: object_fwd.hpp:38
Definition: adaptor_base.hpp:15
const char * ptr
Definition: object_fwd.hpp:34
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:661
Definition: object.hpp:34
packer< Stream > & pack_str_body(const char *b, uint32_t l)
Packing str body.
Definition: pack.hpp:1220
Definition: object_fwd.hpp:236
std::size_t size(T const &t)
Definition: size_equal_only.hpp:24
void pack(msgpack::packer< Stream > &o, const T &v)
Definition: object.hpp:668
msgpack::object_str str
Definition: object_fwd.hpp:87
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
msgpack::type::object_type type
Definition: object_fwd.hpp:92
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
uint32_t size
Definition: object_fwd.hpp:33
The class template that supports continuous packing.
Definition: adaptor_base_decl.hpp:24
packer< Stream > & pack_str(uint32_t l)
Packing str header and length.
Definition: pack.hpp:1197
msgpack::object const & operator()(msgpack::object const &o, T &v) const
Definition: object.hpp:203
msgpack::object_bin bin
Definition: object_fwd.hpp:88