c++ initializer list for custom classes working abnormally
Can anyone please help me understand what is wrong with the below code?
c++ initializer list for custom classes working abnormally
Can anyone please help me understand what is wrong with the below code?
Is it possible to merge 2 initializer_list?
In cpp we can construct objects of some classes with an intializer_list: