假设我有两个课程:
\ntemplate <typename X, typename Y>\nclass Functor {};\n\ntemplate <typename Start, typename End, typename ...Functors>\nclass Template {};\nRun Code Online (Sandbox Code Playgroud)\nTemplate有以下限制:
全部Functors必须是类型Functor
所有内容都Functor必须按链式顺序排列,这样
Functor必须Start作为其第一个参数Functor必须End作为第二个参数Functor\ 的第一个参数是前面它的第二个参数Functor例如Functor<A,B>, Functor<B, C>, Functor<C, D>, ...等等。
从...开始:char
结尾为: …