[Libpqxx-general] from_string to const string, was: <no subject>

Jeroen Vermeulen jtv at xs4all.nl
Tue Apr 28 15:50:35 UTC 2009


Daniel Frey wrote:

> May I suggest to add an empty definition for string_traits? Just:
> 
> template<typename T> struct string_traits {};
> 
> in strconv.hxx line 46. That way, it always fails at compile-time  
> instead of link-time when used with a type that has no specialization.

Good one, yes.  Thanks!

It's in [1520].


Jeroen


More information about the Libpqxx-general mailing list