OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
ozo::option< Key > Struct Template Reference

#include <ozo/core/options.h>

Description

template<typename Key>
struct ozo::option< Key >

Option class.

Option is a class like boost::hana::type but with syntactic sugar of operator = to produce boost::hana::pair with natural equation as it shown in the example.

Example

static_assert(foo=0L == boost::hana::make_pair(foo, 0L));
Template Parameters
Key— type to tag option

Inherits type< Key >.

ozo::option
Option class.
Definition: options.h:33