[Libpqxx-general] Tablewriter: entering specified fields only

Jeroen Vermeulen jtv at xs4all.nl
Thu May 21 21:57:58 UTC 2009


Matthew Fanto wrote:

> I think the idea is you want to create a container of the column names. You

That's right.  This is a common idiom in the C++ standard library, but I 
overlooked the possibility that someone might misunderstand and pass two 
column names instead, and that this would compile but probably crash. 
I'll try to make sure that code like this fails to compile with a 
somewhat informative error message.


Jeroen


More information about the Libpqxx-general mailing list