samedi 17 novembre 2018

How to mimic this Vector behavior

How can I make a class I define have a constructor that works like this:

vector<int> vec = {1,2,3,4};

Aucun commentaire:

Enregistrer un commentaire