-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
@nrnhines : assignment is being used below:
|
It depends on usage. What would be the case to copy or assign
|
Ok. So the choice is to revert 7dc3acc or to change the test. I don't have much of an opinion either way. Which would you prefer?
I don't expect to subclass in the future... Just a habit. Will get rid of it. |
yeah, reverting is fine! |
…fo." This reverts commit 7dc3acc.
Put back the assignment and copy constructors. Is it still worthwhile to make the destructor non-virtual? |
Yeah, virtual can be removed here. |
* Clean up interleave_info. * No need to allocate nodeindices for artificial cells. * Two allocation methods in use for int arrays in InterleaveInfo. * No need for virtual destructor. CoreNEURON Repo SHA: BlueBrain/CoreNeuron@e9a7b19
I separated these into small independent commits. Especially solicit your opinion on not implementing assignment and copy constructors. Also, if those are useful to have, is it a good idea to specifically have
delete
correspond tonew`` and
freecorespond to
malloc```.