cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

initializer_list constructor

Open vishal340 opened this issue 2 years ago • 1 comments

Channel

"C++Weekly"

Topics

initializer_list has private constructor and no public member function calling it. it is remarked that compiler can call private constructors.

Length

maybe 5-10 minute. not sure

vishal340 avatar Jul 31 '23 04:07 vishal340

here is a gist of the class https://gist.github.com/vishal340/ad5f702d0660dff693cdcf080299e6da

vishal340 avatar Jul 31 '23 04:07 vishal340