has_value_to

Determine if a value can be converted to T.

Synopsis

Defined in header <boost/json/value_to.hpp>.

template<
    class T>
using has_value_to = see below;

Description

If value can be converted to T via a call to value_to, the static data member value is defined as true. Otherwise, value is defined as false.

See Also

Convenience header <boost/json.hpp>.