Ray's playground

 

2010年8月1日

Boost.Any

摘要: Anything GoesCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>2#include<string>3#include<utility>4#include<vect... 阅读全文

posted @ 2010-08-01 13:54 Ray Z 阅读(868) 评论(0) 推荐(0) 编辑

Derived Classes(Chapter 12 of The C++ Programming Language)

摘要: An abstract class is an interface. A class hierarchy is a means of building classes incrementally.Naturally, every class provides an interface to users and some abstract classes provide significantfun... 阅读全文

posted @ 2010-08-01 10:32 Ray Z 阅读(203) 评论(0) 推荐(0) 编辑

Operator Overloading(Chapter 11 of The C++ Programming Language)

摘要: Implicit conversion can be suppressed by declaring a constructor explicit. That is, anexplicitconstructor will be invoked only explicitly. In particular, where a copy constructor is in principleneeded... 阅读全文

posted @ 2010-08-01 01:00 Ray Z 阅读(172) 评论(0) 推荐(0) 编辑

导航