Boost logo

Boost Users :

From: Trigve Siver (trigves_at_[hidden])
Date: 2007-05-17 05:49:51


>----- Original Message ----
>From: Arkadiy Vertleyb <vertleyb_at_[hidden]>
>To: boost-users_at_[hidden]
>Sent: Thursday, May 17, 2007 11:56:38 AM
>Subject: Re: [Boost-users] fatal error C1001 with visual studio 8, boost 1.34, BOOST_AUTO() macro
>
>"Trigve Siver" <trigves_at_[hidden]> wrote
>
>> The signature of exec() method is:
>>
>> ---
>> result exec(const PGSTD::string &Query,
>> const PGSTD::string &Desc=PGSTD::string());
>> ---
>>
>> >Is "pqxx::result" the exact type the expression T.exec("some select...")
>> >returns? Can you do:
>> >
>> >pqxx::result r;
>> >BOOST_AUTO(rr, r);
>> >
>> >?
>>
>> Yes I can do this without error:
>>
>> ---
>> pqxx::result rs = T.exec(sql_stream.str());
>> BOOST_AUTO(r, rs);
>> ---
>
>Can you paste the exact line of code that causes the error?

---
BOOST_AUTO(rs, T.exec("SELECT 1"));
---
>
>Regards,
>Arkadiy
thanks
Trigve
 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net