标签:style blog http color 使用 strong
定义
class ImageProxy{public:void draw();Size size();private:void getImage();private:Image* m_image;}void ImageProxy::draw() {getImage()->draw();}Size ImageProxy::size() {getImage()->size();}void ImageProxy::getImage() {if (m_image == NULL)m_image = new Image();return m_image;}
标签:style blog http color 使用 strong
原文地址:http://blog.csdn.net/harrising/article/details/37668415