Boost logo

Boost Users :

Subject: Re: [Boost-users] Determine 32 vs 64 architecture
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-10-14 21:27:14


On Thu, Oct 14, 2010 at 00:23, Ryan McConnehey <mccorywork_at_[hidden]> wrote:
> Is there a library that lets me determine on what architecture my code is
> compiled?  I needed to redefine a couple of typedef for fundamental types.
>

What sort of thing are you looking to do, exactly? Boost.Integer
covers finding types with specific sizes, and any 32- vs 64-bit issues
should be apparent by looking at sizeof(int/long/void*)...

~ Scott


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