????8????????????

//????cmpFcn????????????????????????
Typedef bool (*cmpFcn)(const string&??const string&);
//??  ????????????????????
//??  ???ú???????????磺
//?????????
bool lengthCompare(const String&??const String&);
cmpFcn pf=lengthcompare;
lengthCompare(“hi”??”bye”);//????????????
pf(“hi”??”bye”);//??????????
(*pf) (“hi”??”bye”);//?????????????
//????????????βΣ?
void useBigger(bool(const String&??const String&));          
void useBigger(bool(*)(const String&??const String&));

???????IO??

????1??IO??????????????????????????????????????vector?????С??βλ??????????????????????????IO??????????????á???????????const??????

??????

????1??const???????????????????????????????const??????????????????????У?????????????????г???????????????????

????2???????const????????????????????????????const?????????*this??????const???á?

????3????????inline?????????????????????дinline???????????дinline????????????????

????4???????????????????????????????磺class A;?????????????????????????????????????????????????????á????????????????class A{ public:A *next;};????C???????????????????????

????5??????????????????????A temp;??????class A temp;??????????C????????????

????6??const??????????const???????const??????????????????

????7??Mutable????????????????????????const????????????????????????mutable??????const?????????????ó????????????

????8??????????βα??????崦???????????У??????????????????????????????????????????????????????????????????У????βα???????????????????????????????檔???????????????????????????????????????????????????????????????????????????????????????????????????βα?????????嶼???????????????Щ??????????????ж??壬?????????????????????????磺

class Screen{
public:
         Typedef std::string::size_type index;
         Index get_cursor() const;
private:
         Int cursor;
};
Inline Screen::index Screen::get_cursor()const{
         return cursor;
}

????9?????????????????????????????????????????塣???????????????const????????????????壬??????????????????????????и?????

????10?????????????ó?????б?????????????г???????????????????????????????????????????????????????????????????????????????????????????????????????????????:???????Σ?????????Ρ?????????????????????е??????ɡ???????????????????????????б??????????????????????????????????????ν??г??????????????????????????