随笔分类 -  C++

摘要:转自:http://blog.csdn.net/daheiantian/article/details/6438782Code:#include using namespace std;class A {public:A() {cout<<"int A::A()"<<endl;}A(A &a) {c... 阅读全文
posted @ 2014-08-16 22:30 anit_nait 阅读(388) 评论(0) 推荐(0)
摘要:From: http://blog.csdn.net/wuzhekai1985/article/details/6654667#include #include #include using namespace std;//萃取剂templatestruct Iterator_traits{ ... 阅读全文
posted @ 2014-08-11 08:07 anit_nait 阅读(147) 评论(0) 推荐(0)
摘要:The C++ standard says nothing about how implementations should manage template i nstantiation, so every implementation handles instantiation in its ow... 阅读全文
posted @ 2014-08-10 09:39 anit_nait 阅读(198) 评论(0) 推荐(0)
摘要:Input: Executing std::cin >> v discards any whitespace characters in the standard input stream, then reads from the standard input into variable v. It... 阅读全文
posted @ 2014-08-09 11:17 anit_nait 阅读(238) 评论(0) 推荐(0)