Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2002-01-12 16:44:53


From: "David Abrahams" <david.abrahams_at_[hidden]>
> From: "Greg Colvin" <gcolvin_at_[hidden]>
>
> > So why not
> >
> > template <class T> class complex {
> > T elems[2];
> > ...
> > };
> >
> > ?
>
> Don't you want a constructor? ;-)

What I want is an extension to allow POD constructors.

> Check the POD requirements I posted again. Pretty restrictive.

Too restrictive, in my opinion.


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