Is there a way to raise a compile time error when calling a given function several times in C++?

前端 未结 0 1640
你的背包
你的背包 2020-12-22 05:19

Is there a way in C++ to design a function / add some "attributes" to it in such a way that calling it several times in the code would raise a compile time error?<

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