|
Boost : |
Subject: Re: [boost] Crazy Borland/Codegear long long behaviour?
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2009-11-30 02:53:07
"John Maddock" <john_at_[hidden]> writes:
> I'm having a load of trouble getting Boost.Integer to play nice with
> the Borland/Codegear compilers, for example given:
> So as soon as a long long is declared const (whether static or not) it
> seems to be incapable of actually holding a sensible value!!
I've found that before, and failed to find a workaround. You can't use
long long values sensibly as non-type template parameters either,
especially if you want to use their values for template specializations.
I gave up trying to use long long with Codegear's compiler.
Anthony
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk