| 
    fastdo
    0.5.12
    
   | 
 
成员包装 更多...
#include <utilities.hpp>
Public 成员函数 | |
| MembersWrapper () | |
| MembersWrapper & | operator= (MembersWrapper const &other) | 
| 拷贝赋值,必须保证create()已经调用  更多... | |
| MembersWrapper (MembersWrapper &&other) | |
| MembersWrapper & | operator= (MembersWrapper &&other) | 
| 移动赋值,不用保证create()已经调用  更多... | |
| void | destroy () | 
| 必须在使用者类的析构函数里最后一个调用  更多... | |
| template<typename... _ArgType> | |
| void | create (_ArgType &&...arg) | 
| 必须在使用者类的构造函数里第一个调用  更多... | |
| _TargetCls * | operator-> () | 
| _TargetCls const * | operator-> () const | 
| operator _TargetCls & () | |
| operator _TargetCls const & () const | |
| operator bool () const | |
成员包装
此类的构造函数/析构函数不能直接调用create()/destroy(),因为目标类的实现未知,所以无法创建或销毁。 必须要在使用本包装的类中的构造函数/析构函数中分别调用它们。 operator=和拷贝构造也是类似.因为目标类的实现未知,所以无法依靠自动生成的函数来自动调用.必须重写使用本包装的类中的operator=和拷贝构造函数
在文件 utilities.hpp 第 333 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 340 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 353 行定义.
      
  | 
  inline | 
必须在使用者类的构造函数里第一个调用
在文件 utilities.hpp 第 383 行定义.
      
  | 
  inline | 
必须在使用者类的析构函数里最后一个调用
在文件 utilities.hpp 第 372 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 397 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 401 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 405 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 389 行定义.
      
  | 
  inline | 
在文件 utilities.hpp 第 393 行定义.
      
  | 
  inline | 
拷贝赋值,必须保证create()已经调用
在文件 utilities.hpp 第 343 行定义.
      
  | 
  inline | 
移动赋值,不用保证create()已经调用
在文件 utilities.hpp 第 359 行定义.