Searched refs:Deleter (Results 1 – 4 of 4) sorted by relevance
38 template <class T, class Deleter = std::default_delete<T>>39 using UniquePtr = std::unique_ptr<T, Deleter>;
65 template <typename Deleter>66 ArenaSharedPtr(std::nullptr_t, Deleter d) : Base(nullptr, d) {} // NOLINT explicit. in ArenaSharedPtr()
36 template <typename T, typename Deleter = HandleDelete<T>> class Handle {58 if (handle_) Deleter()(handle_); in ~Handle()
605 struct Deleter { in TEST_F() struct607 explicit Deleter(std::string t) : to_delete(std::move(t)) {} in TEST_F() function608 ~Deleter() { in TEST_F() argument614 Deleter del(test_file); in TEST_F()