Boost logo

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.


Author of C++ Concurrency in Action
just::thread C++0x thread library   
Just Software Solutions Ltd
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at, gregod at, cpdaniel at, john at