Add typedefs to tl::object_ptr.

GitOrigin-RevId: c696935b7a576b15795ba9b2d8db56aa5d734471
This commit is contained in:
levlam 2018-09-22 14:45:52 +03:00
parent 8610734232
commit 4ec1765b41

View File

@ -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;