2013年2月17日

关于c++ class的几个知识点

摘要: (1)inline成员函数class Screen {public: typedef std::string::size_type index; // implicitly inline when defined inside the class declaration char get() const { return contents[cursor]; } // explicitly declared as inline; will be defined outside the class declaration inline char get(index h... 阅读全文

posted @ 2013-02-17 14:40 zhuyf87 阅读(302) 评论(0) 推荐(0) 编辑

导航