▲ | o11c 5 days ago | ||||||||||||||||
It also completely negates their utility, even though the exact "problem" they always bring up is already solved when you use normal constructors. | |||||||||||||||||
▲ | jcelerier 5 days ago | parent [-] | ||||||||||||||||
Not sure I understand, since they're available in c++ designated initializes are one of the features I use most, to the point of making custom structs to pass the arguments if a type cannot be changed to be an aggregate. It makes a huge positive difference in readability and has helped me solve many subtle bugs ; and not initializing things in order will throw a warning so you catch it immediately in your ide | |||||||||||||||||
|