Is an implementation required to diagnose ODR-violations of duplicated definitions of the same explicit specialization within the same TU?

后端 未结 0 1648
粉色の甜心
粉色の甜心 2020-11-28 01:11

Consider a templated entity, say (A) a function template, and (B) a member enum of a class template.

// (A)
template
int f();

// (B)
template <         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题