|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2002-08-06 18:39:40
On Tuesday, August 6, 2002, at 03:18 PM, David Abrahams wrote:
> -#elif defined(ULLONG_MAX)
> +#elif defined(ULLONG_MAX) && defined(ULLONG_MIN)
> static unsigned BOOST_LLT min(){ return ULLONG_MIN; }
> static unsigned BOOST_LLT max(){ return ULLONG_MAX; }
> -#elif defined(ULONGLONG_MAX)
> +#elif defined(ULONGLONG_MAX) && defined(ULONG_LONG_MIN)
> static unsigned BOOST_LLT min(){ return ULONGLONG_MIN; }
> static unsigned BOOST_LLT max(){ return ULONGLONG_MAX; }
> #else
What about the alternative where you return 0 instead of ULLONG_MIN and
ULONGLONG_MIN?
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk