-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not used string_traits::subject_type
#52
Comments
It's a good point... It's not actually part of the traits API, but it does factor out some repetition of the type, which may help maintenance, and helps hide uninteresting differences between the specialisations. What if I just made |
I know that type aliases are handy in templates, but I did not get this point, especially if that alias is not used anywhere (at least in headers).
It will be removed from the focus. I am ok with this solution. |
Actually, you were right. In this instance (and one other) it could be completely removed. After a decade or so writing a codebase like this, it becomes hard to see these things. :-) |
libpqxx/include/pqxx/strconv.hxx
Line 59 in e06e5ce
I think it should be removed because it confuses those who specialize their types for
string_traits
. It raises a question: Should I add that alias in my specialization or not?In the bellow specializations it is not defined
libpqxx/include/pqxx/strconv.hxx
Lines 87 to 95 in e06e5ce
The text was updated successfully, but these errors were encountered: