sqlpp::optional is an alias for std::optional for C++17 and beyond. Otherwise, it is a simple and incomplete backport. For older versions of C++, the library offers simple back Similar for string_view and span.