|
Boost : |
From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-06-03 20:05:26
> The boost::noncopyable is unusable: it has no non private
> constructor, so any class derived from it cannot be
> instanciated.
Valentin's right. It needs a public default constructor.
> Did you tested it with a real compiler ?
I never did. My submission to Beman said it hadn't been tested either. I was
doing it from memory.
Beman's test only checks that things which aren't supposed to work are
prevented, so it isn't surprising he didn't find the problem.
------------------------------------------------------------------------
eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk