Answer the question
In order to leave comments, you need to log in
Is it possible somehow in C++ to pass an initialization list directly to a function?
For example, like this:Array.add({5, 1, 2, 4});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question