Boost logo

Boost :

Subject: Re: [boost] [mpl] strange vector_c and integral_c construction
From: joel (joel.falcou_at_[hidden])
Date: 2009-08-12 04:59:40


Maxim Yanchenko wrote:
> This problem involves three types: int, long, and int64_t (long is in vector_c
> definition). Of course, if long and int64_t are same, the problem won't appear.
>
> For my system, the sizeofs of the types are:
> 32bit: int = long < int64_t (fail)
> 64bit: int < long = int64_t (ok)
>
> What about the system you've tried?
>
I had a similar pb. I think that, internally, vector_c only use long and
don't check for 64 bits actual int64_t.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk