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';
原文链接:/javaschema/285763.html