Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2002-09-10 12:27:05


I have a copy but find it hard to 'access' :-)

Paul

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of David Abrahams
> Sent: Tuesday, September 10, 2002 3:07 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] RE: Interval Library- providing intervals of
> constants
>
>
> From: "Paul A. Bristow" <boost_at_[hidden]>
>
>
> ------------------------------------------------------------------
> ---------
> -----
>
>
> > Sadly, according the MSVC .net (never the most reliable authority)
> >
> > Only static const INTEGRAL members can be initialised,
> >
> > only static const int
> >
> > template <unsigned int decimal_precision>
> > struct interval_pi
> > {
> > static const double lower = 3; // integer default version.
> > static const double upper = 4; // 3 < pi < 4
> > };
> >
> >
> > Or is this not true for 'real' compilers?
>
> It is true for all C++ compilers.
>
> > Other suggestions?
>
> I know this isn't what you're after, but a copy of the standard is always
> helpful:
>
> http://webstore.ansi.org/ansidocstore/product.asp?sku=INCITS/ISO/I
EC+14882-
1998

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk