overload.cpp

来自「doxygen(一个自动从源代码生成文档的工具)的源代码」· C++ 代码 · 共 26 行

CPP
26
字号
class Test {  public:    void drawRect(int,int,int,int);    void drawRect(const Rect &r);};void Test::drawRect(int x,int y,int w,int h) {}void Test::drawRect(const Rect &r) {}/*! \class Test *  \brief A short description. *    *  More text. *//*! \fn void Test::drawRect(int x,int y,int w,int h) * This command draws a rectangle with a left upper corner at ( \a x , \a y ), * width \a w and height \a h.  *//*! * \overload void Test::drawRect(const Rect &r) */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?