SQLiteCpp
SQLiteCpp copied to clipboard
Better type for getColumn
It would be better to have getColumn<T>(n)
syntax, because we need to set the type of the return value anyway. Writing static_cast<T>(query.getColumn(n))
is way too verbose. You can achieve that by partial specialization of some class with static methods.