Author |
Topic |
|
Adequat
Tomato Guru
182 Posts |
Posted - Sep 22 2014 : 08:56:49 AM
|
In C++, the constructor should be added to the menu. The constructor is often the most visited function of any class, hence would deserve more focus (rather than opening the member list, which is slower). |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Sep 23 2014 : 7:56:04 PM
|
This is an interesting argument, and I do see the appeal. Where you have multiple overloaded constructors I like to put the bulk of the code into an "init" function, so it only exists once. I have put in a feature request to see what our developers make of this, but multiple overloaded constructors are a complicating factor here.
case=85216 |
zen is the art of being at one with the two'ness |
Edited by - feline on Sep 23 2014 7:56:43 PM |
|
|
Adequat
Tomato Guru
182 Posts |
Posted - Sep 24 2014 : 02:29:05 AM
|
Then the icing on the cake would be: if there is a single constructor, it appears as such in the menu. And if there are multiple constructors, there is a constructor sub menu listing the various constructors. |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Sep 24 2014 : 8:52:50 PM
|
An interesting thought, I have put a note onto the case about this to see what our developers think. This is certainly a solution, but as you note, perhaps more complex than we will consider at first. |
zen is the art of being at one with the two'ness |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 07 2014 : 09:59:00 AM
|
case=85216 is implemented in build 2052 |
|
|
|
Topic |
|