Hello, Christian. There's a typo there (better saying, a class name from an
old version of soci).

Just bellow the example you'll find:

With the above type_conversion specialization in place, it is possible to
use Person directly with SOCI:


SOCI 3.x follow the name convention of boost: small_caps_with_undercores.
So, the soci 2.x TypeConversion is now type_conversion and it works ok. It's
possible that other doc pages present similar misspellings (i.e., weren't
updated to match soci 3.x)

Best regards,

Francisco

2010/4/20 Christian Auby <[email protected]>

> How is SOCI 3.1 doing? Any revisions I should run through our compilers?
>
> I have an issue using Object-relational mapping, from the example here:
> http://soci.sourceforge.net/doc/exchange.html#object_relational
>
> If I take this exact example code and try to compile it I get the
> following errors, on both msvc 9.0 and gcc 4.3.3:
>
> 11: error: 'TypeConversion' is not a template
> 12: error: explicit specialization of non-template 'soci::TypeConversion'
>
> Has Object-relational mapping changed in git?
>
> regards,
>
> Christian
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to