✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
AI编程基础
->
JAVA
Loki的TypeList技术解析(四)
2014-11-23 23:41:32
·
作者:
·
浏览:
7
标签:
Loki
TypeList
技术
解析
t so that the most derived types appear first // Invocation (TList is a typelist): // DerivedToFront
::Result // returns the reordered TList //////////////////////////////////////////////////////////////////////////////// template
struct DerivedToFront; template <> struct DerivedToFront
{ typedef NullType Result; }; template
struct DerivedToFront< Typelist > { private: typedef typename MostDerived
::Result TheMostDerived; typedef typename Replace
::Result Temp; typedef typename DerivedToFront
::Result L; public: typedef Typelist
Result; }; } // namespace TL
首页
上一页
1
2
3
4
下一页
尾页
4
/4/4