Hello,

Mateusz Loskot wrote:

> OK, I've played a bit with this issue and here is the conclusion:

[...]

> 3. Use of boost::optional seems to be impossible:

I have just added this to our tests:

http://soci.git.sourceforge.net/git/gitweb.cgi?p=soci;a=commitdiff;h=285f10736dc21888c7aa3be05bd019cdf3439fdf

It works perfectly for me (g++ 4.0.1, PostgreSQL).
I also have no problems instantiating the same for std::string.

> At least, Visual C++ 9.0 is not able to
> instantiate any. Compilation fails.

Interesting, isn't it?
How about running the new test with VC++?

Regards,

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to