jeudi 9 mars 2017

What is template<> inline bla bla [duplicate]

This question already has an answer here:

I stumbled across the following:

template<> inline bool Value::GetValue<bool>() const {
    return m_Value.ValueBoolean();   // union
}

Can’t understand what the empty template declaration does ?

Aucun commentaire:

Enregistrer un commentaire