Don't compile C++ function if it failed to be inlined

后端 未结 0 1515
孤街浪徒
孤街浪徒 2020-12-31 12:40

Is it possible to force compiler (CLang/GCC/MSVC) to throw compile error whenever forced-inline function failed to be inlined for any reason?

Imagine next code:

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