42

C++反射机制:可变参数模板实现C++反射-cqc_lbh的博客

 6 years ago
source link: http://blog.51cto.com/5662165/2142574
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
1.概要  本文描述一个通过C++可变参数模板实现C++反射机制的方法。该方法非常实用,在Nebula高性能网络框架中大量应用,实现了非常强大的动态加载动态创建功能。Nebula框架在coding.net的仓库地址。  C++11的新特性--可变模版参数(variadictemplates)是C++11新增的最强大的特性之一,它对参数进行了高度泛化,它能表示

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK