|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-13 08:29:52
From: "David Abrahams" <david.abrahams_at_[hidden]>
> struct Y : boost::noncopyable // prevents slicing
> {
> virtual int f(const char*) = 0;
> };
BTW you can't slice to an abstract base.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk