What restrictions does ISO C++03 place on structs defined at function scope?

后端 未结 5 1998
情深已故
情深已故 2020-12-10 13:06

We\'re not allowed to define a functor struct inside a function because one is not allowed to use function declared structs in the instantiation of function templates.

5条回答
提交回复
热议问题