NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/50740: src/sys/arch/epoc32/stand/e32boot/ldd/epoc32.h:30: poor C++ coding style ?
>Number: 50740
>Category: misc
>Synopsis: src/sys/arch/epoc32/stand/e32boot/ldd/epoc32.h:30: poor C++ coding style ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 01 16:55:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160131
>Organization:
>Environment:
>Description:
[src/sys/arch/epoc32/stand/e32boot/ldd/epoc32.h:30]: (style) 'class EPOC32' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
Basic C++ coding style is to provide all three of (ctor, dtor, copy-ctor)
if any one is defined.
Suggest mark it private if the intention is for the class not to be copied.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index