http://www.ibm.com/developerworks/cn/aix/library/1212_lufang_c11new/
1= overload and override;
2 = cast style;
3 = principles in the proj 1 2 3 4;
4 = template specialization
5 = rtti;;enum;
6 = dark corner;
7 = project 1 2 design;
specialaztion ::
typedefchar* pChar;
template<>
const pChar max(const pChar& s1,const pChar& s2)
{
return ((strcmp(s1,s2)>0) ? S1 : s2);
}
8 composition and aggreagation implement in the c++;
composition ::
class C
{
R r;
}
aggregation :
class C
{
func()
{
R r;
R *r = new R;
}
}
http://ecs.syr.edu/faculty/fawcett/handouts/CSE687/MidTerm/
left value
http://saturn.stanford.edu/scripts/xgill/browse.pl?code=firefox&id=sqlite3_c_sqlite3EndTable_struct_Parse___struct_Token___struct_Token___struct_Select___
· principals ···
typeid';
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。