下面这个函数  operator FontHandle() const { return f; }
前面的operator关键字是什么意思啊?返回值?The alternative is to have Font offer an implicit conversion function to its FontHandle:
class Font {public:  ...  operator FontHandle() const { return f; }        // implicit conversion function    ...};
That makes calling into the C API easy and natural:
Font f(getFont());int newFontSize;...changeFontSize(f, newFontSize);     // implicitly convert Font                                    // to FontHandle
The downside is that implicit conversions increase the chance of errors. For example, a client might accidently create a FontHandle when a Font was intended: