$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Bill Wade (bill.wade_at_[hidden])
Date: 2000-05-25 07:25:54
Better get rid of that public copy constructor.
noninstantiable x = x;
class y: noninstantiable
{
public:
y(): noninstantiable(*this){};
};
> class noninstantiable {
> private:
> noninstantiable(){}
> }; // noninstantiable
>
> is added to utility.hpp.
>
> Inherit from this class if your class should not be possible to
> instantiate.