Hello,

Christian Auby wrote:

> I also seem to have an issue using boolean values in ORM, e.g.:
> 
> row.enabled = v.get<bool>("enabled");
> 
> seems bool is not a valid template type for v.get?

That is right - get<T> is based on the same type_conversion mechanics 
and bool is not directly supported there.

The interesting question is whether bool should be supported or not.
Unfortunately, it is not clear how bool might be expressed at the 
database level.

Of course, the docs should be updated to reflect the name convention 
change - as was already done for other cases on the same page.

Regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to