Holds unique pointer that is deleted once this holder is deleted. Its main usage is to hold a pointer to implementation (pimpl idiom):
class Self; Unique<Self> self;
Public 成员函数 | |
| Unique () | |
| ~Unique () | |
| Unique (const Unique &) | |
| Unique & | operator= (const Unique &other) | 
| T * | operator-> () const | 
| Unique | ( | ) |