OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
boost::scoped_ptr

Description

boost::scoped_ptr support

#include <ozo/ext/boost/scoped_ptr.h>

boost::scoped_ptr<T> is defined as #Nullable and uses the default implementation of ozo::is_null().

Function ozo::allocate_nullable() implementation is specialized via direct call of operator new, so the allocator argument is ignored.

The ozo::unwrap() function is implemented via the dereference operator.