#include <ozo/io/binary_query.h>
Concept of a type that is convertible to ozo::binary_query
To be convertible to the ozo::binary_query
type should model Query
concept or should have a valid ozo::to_binary_query_impl<T>
overload.
A particular query object type may become BinaryQueryConvertible
via the specialization of ozo::to_binary_query_impl<T>::apply()
template function. By default, it handles any Query
model object or binary_query
object.
E.g., a custom library contains type-erasure interface for its queries.
Then the adaptation should look like this: