Re: [Boost-bugs] [Boost C++ Libraries] #105: Why noncopyable destructor isn't virtual

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #105: Why noncopyable destructor isn't virtual
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-06 01:23:12


#105: Why noncopyable destructor isn't virtual
---------------------------------+------------------------------------------
  Reporter: wusan_at_[hidden] | Owner: nobody
      Type: Feature Requests | Status: closed
 Milestone: | Component: None
   Version: release 1.34.0 | Severity: Cosmetic
Resolution: wontfix | Keywords:
---------------------------------+------------------------------------------
Changes (by dave):

  * status: assigned => closed
  * severity: => Cosmetic
  * reporter: wusan => wusan_at_[hidden]
  * version: None => release 1.34.0
  * resolution: None => wontfix

Old description:

> {{{
> Rule 14 in "Effective C++ 2/e":
> "Make sure base classes have virtual destructors."
>
> But why base class noncopyable doesn't have ?
> }}}

New description:

 {{{
 Rule 14 in "Effective C++ 2/e":
    "Make sure base classes have virtual destructors."

 But why base class noncopyable doesn't have ?
 }}}

Comment:

 The answer why not is that it would add needless overhead.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/105#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC