Boost logo

Boost Users :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-05-17 13:31:04


"Trigve Siver" <trigves_at_[hidden]> wrote

>>Strange...
>>
>>Can you post the entire file where you use BOOST_AUTO (and also the
>>file(s)
>>where you register your types)?
>>
>
> Hi,
> of course...

Well, I don't have PostgreSQL, and can't reproduce the situation without it
:(

So I am going to ask you to try a couple more things. Can you try all of
these:

1)
typedef BOOST_TYPEOF(T.exec("SELECT 1")) type;

2)
boost::type_of::encode<boost::type_of::vector0<> >(T.exec("SELECT 1"));

3)
boost::type_of::encode<boost::type_of::vector0<> >(T.exec("SELECT
1")).item0;

4)
sizeof(boost::type_of::encode<boost::type_of::vector0<> >(T.exec("SELECT
1")).item0);

5)
typedef
boost::mpl::size_t<sizeof(boost::type_of::encode<boost::type_of::vector0<>
>(T.exec("SELECT 1")).item0)> type;

Which one compiles and which doesn't?

Regards,
Arkadiy


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