|
Boost Users : |
From: Wu Yinghui, Freddie (yhwu_at_[hidden])
Date: 2006-03-06 07:57:50
Just a quick question, does Boost integer traits classes support 64-bit
integral types? I didn't seem to be able to get the following code compile:
#include <boost/integer.hpp>
#include <boost/integer/integer_mask.hpp>
typedef typename boost::int_t<64> int_type;
typedef boost::high_bit_mask_t<63> high_bit_type;
I know that I can use boost::int64_t, but the problem is that the "64"
here is not fixed in my code. It is dependent on some other parameters,
so it could be 32 too.
Am I missing anything?
Cheers,
Freddie
-- Wu Yinghui, Freddie Research & Development Software Engineer Volume Interactions Pte Ltd 1 Kim Seng Promenade, #12-01 Great World City East Tower Singapore 237994 Tel: +65 62226962 (Ext 216) Fax: +65 62226215 Email: yhwu_at_[hidden] URL: http://www.volumeinteractions.com Important: This message is intended for the recipient(s) addressed above. It contains privileged and confidential information. If you are not the intended recipient, please notify the sender immediately by replying to this message and then delete it from your system. You must not read, copy, use, or disseminate this communication in any form. Thank you.
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