Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 2
Can someone please explain this MyClass(int a) : var(a) { }
C++
1 Antwort
+ 1
MyClass(into a){var {a};} initializes var twice, in list and block. So we can say that using list in this case is more efficient