标签: c++ templates function-templates
我可以使用任何版本的C ++(最多20个)。
具有以汇编语言实现的GCC's extended asm
static inline void foo(){ __asm__ __volatile__("Some asm code" ::: "some clobbers"); }
如何编写一个模板,该模板将生成重复foo的{{1}}次的代码?
foo
类似这样的东西:
n