mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
fix "with" -> "without" typo
+1
-1
@@ -29,7 +29,7 @@ You can create a msgpack::object from a various type value using the following c
|
||||
object(const T& v, zone& z);
|
||||
```
|
||||
|
||||
You need pass a zone. When the object contains array and/or map, child objects are allocated in the zone. A value that has the type corresponding to str and bin, the contents of the value is copied to the zone without one exception. The exception is msgpack::type::raw_ref. When you call msgpack::object constructor with raw_ref as follows:
|
||||
You need pass a zone. When the object contains array and/or map, child objects are allocated in the zone. A value that has the type corresponding to str and bin, the contents of the value is copied to the zone with one exception. The exception is msgpack::type::raw_ref. When you call msgpack::object constructor with raw_ref as follows:
|
||||
|
||||
```C++
|
||||
msgpack::object obj(msgpack::type::raw_ref(data, size), zone);
|
||||
|
||||
Reference in New Issue
Block a user