On 12 December 2014 at 23:38, Kendrick Hamilton wrote:
> Hello,
>
> I had an idea of a warning g++ might be able to add. The purpose of the
> warning is to help prevent bugs. The warning is to occur when you might
> destroy an inherited class using the base classes pointer. To illustrate
> conside
Hello,
I had an idea of a warning g++ might be able to add. The purpose of the
warning is to help prevent bugs. The warning is to occur when you might
destroy an inherited class using the base classes pointer. To illustrate
consider
class base
{
public:
base();
~base();
}