#include <typeinfo>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <list>
using namespace std;
template< template<typename, typename> class container_type, typename value_type>
void foo(container_type<value_type,
std::allocator<value_type> > const& container)
{
cout << typeid(container_type).name() << endl;
cout << typeid(value_type).name() << endl;
}
int main(int argc, char* argv[])
{
foo(std::vector<int>());
foo(std::list<int>());
return EXIT_SUCCESS;
}
分享到:
相关推荐
This book is an outgrowth of a 1996 NIPS workshop called Tricks of the Trade whose goal was to begin the process of gathering and documenting these tricks. The interest that the workshop generated, ...
针对图像分类任务,提升准确率的方法路线有两条,一个是模型的修改,另一个是各种数据处理和训练的技巧(tricks)。图像分类中的各种技巧对于目标检测、图像分割等任务也有很好的作用,因此值得好好总结。本文在精读...
Neural Networks: Tricks of the Trade, Second Edition Editors: Grégoire Montavon, Geneviève B. Orr, Klaus-Robert Müller 有关神经网络、深度学习Tricks的入门经典书籍。
From taming the Ribbon bar to testing and tables, creating custom functions, and overcoming "impossible" charts, mixing nesting limits, and more, 101 Excel 2013 Tips, Tricks, & Timesavers will save ...
PDF 插件 Quite A Box Of Tricks(任意角度 缩放)
TI FOC-FOC - Teaching Old Motors New Tricks课程,by Dave Wilson。 包含PPT讲义,Lab Exercises练习文件,VisSim安装包等
Mixture Models for Diverse Machine Translation: Tricks of the TradeTianxiao Shen
After the tremendous success of Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks, I planned to do another book with an entirely new set of innovative ideas, techniques, and algorithms...
Tricks of The 3D Game Programming Gurus Code
Tricks of the Windows Game Programming Gurus 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有...
更多软件,更多精彩,尽在博海。quite a box of tricks1.8 quite a box of tricks PDF插件
书 python-tricks-buffet-awesome-features pdf格式和epub格式
ShaderX2 Programming Tips & Tricks with DirectX 9 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,...
Tricks of the Game Programming Gurus (SAMS Publishing) (1994) CD iso
Four different tricks to bypass StackShield and StackGuard protection Four different tricks to bypass StackShield and StackGuard protection Four different tricks to bypass StackShield and StackGuard ...
Python Tricks A Buffet of Awesome Python Features 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
dx9进实时渲染的技术和方法Real-Time Rendering Tricks and Techniques in DirectX.
Python Tricks A Buffet of Awesome Python Features 英文mobi 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
Phithon——CTF比赛总是输?你还差点Tricks!非常有用的资源
ShaderX2 - Tips_and_Tricks_with_DirectX_9