[odb-users] c++17,20,23 and sqlite

Boris Kolpackov boris at codesynthesis.com
Mon Jan 31 09:49:11 EST 2022

MM <finjulhich at gmail.com> writes:

> Without a self-contained case, perhaps a specialisation is not found.
> error: no matching function for call to
> ‘odb::sqlite::value_traits<std::vector<std::byte>,
> odb::sqlite::id_blob>::set_image(odb::details::buffer&, std::size_t&,
> bool&, const std::vector<std::byte>&)’

Yes, turns out std::byte is a lot more involved than a simple alias
for char. From GCC 11 cstddef header:

enum class byte : unsigned char {};

So, yes, a specialization will be need. Will try to add it at some

More information about the odb-users mailing list