Add typedefs to tl::object_ptr.
GitOrigin-RevId: c696935b7a576b15795ba9b2d8db56aa5d734471
This commit is contained in:
parent
8610734232
commit
4ec1765b41
@ -96,6 +96,9 @@ namespace tl {
|
||||
template <class T>
|
||||
class unique_ptr {
|
||||
public:
|
||||
using pointer = T *;
|
||||
using element_type = T;
|
||||
|
||||
unique_ptr() noexcept = default;
|
||||
unique_ptr(const unique_ptr &other) = delete;
|
||||
unique_ptr &operator=(const unique_ptr &other) = delete;
|
||||
|
Reference in New Issue
Block a user