Seventeenification: Porting sqlpp11 to C++17
summary
Report on porting sqlpp11 to C++17: actual code changes replace kludgy constexpr char arrays with inline variables and auto non-type template parameters, simplify tag-dispatch into if constexpr and return-type deduction, and use fold expressions for type-set logic. std::string_view and std::optional replace expensive string copies and ad-hoc runtime variants. Result is much simpler code, fewer templates, improved type safety, and a measured compile-time speedup (simple test shows about 4x faster).
AI-written summary · about
