From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-10-24 07:06:03
On Friday, October 24, 2003, at 01:41 PM, Russell Hind wrote:
> Matthias Troyer wrote:
>> Is it possible to have a floating point number as a template
> Not sure, boost::array uses a std::size_t so don't see why not?
I thought that the standard (14.1.4) says:
A nontype template-parameter shall have one of the following
(optionally cvqualified) types:
- integral or enumeration type,
- pointer to object or pointer to function,
- reference to object or reference to function,
- pointer to member.
which would exclude floating point numbers
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk