octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48734] svd class - make use of implicitly dec


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #48734] svd class - make use of implicitly declared methods
Date: Tue, 9 Aug 2016 20:16:16 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #48734 (project octave):

Just for the record, this was discussed on IRC.  There is no reason for this
declaration other than being explicit that they exist. The presence of for
example a copy constructor signals that it's ok to copy the object.

However, one should expect to be able to copy an object by default. It's the
presence of such explicit declarations that should signal one to be careful,
not the other way around. But that's dependent on each person's default. Since
we are using C++11, we can make use of the "= default" notation to make it
obvious.


This gets delayed for the next release and be extended to a review of all
other classes for sake of consistency.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48734>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]