This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Maybe one first step would be to only warn about a nonexistent copy
constructor if the class has both a raw pointer member _and_ a
destructor. (Or (raw pointer && (destructor || assignment)),
perhaps.) And similarly for assignment.
the false positive rate, and I would imagine (knowing nothing at all about the relevant bits of GCC) that it would be easier to implement than heuristics involving looking at the actual definitions of various member functions.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |