piece of code(4)
来源:互联网 发布:魔法特效软件新白良子 编辑:程序博客网 时间:2024/04/29 00:14
#include <iostream>
using namespace std;
template <class I, class T>
void function_iter(I iter, T t)
{
cout << "In fucntion_iter()" << endl;
return;
}
template <class I>
void function(I iter)
{
cout << "In function()" << endl;
function_iter(iter, *iter);
return;
}
int main()
{
int i;
function(&i);
cout << "In main()" << endl;
return 0;
}
using namespace std;
template <class I, class T>
void function_iter(I iter, T t)
{
cout << "In fucntion_iter()" << endl;
return;
}
template <class I>
void function(I iter)
{
cout << "In function()" << endl;
function_iter(iter, *iter);
return;
}
int main()
{
int i;
function(&i);
cout << "In main()" << endl;
return 0;
}
- piece of code(4)
- piece of code(2)
- piece of code(3)
- piece of code stl
- piece of code about std
- piece of code stl (2)
- code piece
- code piece.
- code piece
- How to disable compiler optimization for a piece of code
- Insert Code piece Test
- Piece of Cake
- A Piece Of My Heart
- A piece code for backtrace in MIPS
- A piece code for backtrace in MIPS
- Win32/FakeSecSen - A Nasty Piece of Work
- do you want a piece of me
- SpokenEnglish--It's a piece of cake
- Python之Tkinter:动作
- Ubuntu下安装Python的Tkinter和Pmw库
- Python之Tkinter:动作
- 集群节点列表编辑程序
- 关于浮动元素排版问题
- piece of code(4)
- 分布式单词发音抓取机器人
- 编译Mysql configure: error: No curses/termcap library found 的错误解决方法
- C#IEnumerable 接口
- 查看硬件信息几种方法
- ubuntu11.04下配置中文输入法
- ubuntu11.04下安装QQ2012
- Linux 下从命令行打开pdf文件和html文件的命令
- Ubuntu下使用GAE翻墙