mercredi 22 mai 2019

Template for constructor

I see one construtor of class so strange:

class HashTable
{
public:
    template <int N>
    HashTable(const char(&str)[N])

    {
    }
};

Could you please explain it and some example or give me the link relate ! Thanks

Aucun commentaire:

Enregistrer un commentaire