tarantool / tntcxx

Tarantool C++ connector
Other
8 stars 6 forks source link

Old optional #67

Closed drewdzzz closed 11 months ago

drewdzzz commented 11 months ago

The patch populates mpp::encode and mpp::decode functions with optional objects support. An empty optional is encoded as MP_NIL, and MP_NIL is decoded as an empty optional. Otherwise, underlying objects are encoded/decoded just like without optional.

drewdzzz commented 11 months ago

Another implementation of optional has been merged just now.