This question already has an answer here:
- C++ templates specialization syntax 2 answers
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