On 9 November 2012 08:02, Ken Feng <[email protected]> wrote:
>
> However, if there are any notes on any areas of SOCI which may require
> changes, it would be nice to know.  Thanks.

You may expect the changes should not be intrusive to existing parts
of SOCI. Support of new C++ types for the use/into is realised by
providing specjalisation for soci::type_conversion template.
Think of it as an extension, and it is defined in dedicated header file.
For example, https://github.com/SOCI/soci/blob/master/src/core/boost-tuple.h

There are some quirks though, as Boost.Tuple support is either provided as
'standalone' or through Boost.Fusion support (then Boost.Tuple specs
of soci::type_conversion are disabled):

https://github.com/SOCI/soci/commit/6a45192c26528cd395e5f24901280bd3db63cf14

You can read details on that in this thread:
[SOCI-users] Support BOOST_FUSION_ADAPT_STRUCT et. al.
https://sourceforge.net/mailarchive/message.php?msg_id=26463029

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to