Why would you want to use braces to call other constructors in the first place? The only reason to write initializater_list constructors in the first place is usually because you want your type to behave like an array / container. If that is the case, then why would you expect my_array a{1,2} to do anything but fill a with the values 1,2?
2
u/youshouldnameit C++ dev Jun 06 '18
Could you allobrate on why its not a good idea to write those constructors for your own types?