Home
last modified time | relevance | path

Searched refs:TrackingDeleter (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dmove_convert.pass.cpp53 struct TrackingDeleter { struct
54 TrackingDeleter() : arg_type(&makeArgumentID<>()) {} in TrackingDeleter() function
56 TrackingDeleter(TrackingDeleter const&) in TrackingDeleter() argument
57 : arg_type(&makeArgumentID<TrackingDeleter const&>()) {} in TrackingDeleter()
59 TrackingDeleter(TrackingDeleter&&) in TrackingDeleter() argument
60 : arg_type(&makeArgumentID<TrackingDeleter &&>()) {} in TrackingDeleter()
62 template <class T, class = EnableIfSpecialization<TrackingDeleter, T> >
63 TrackingDeleter(T&&) : arg_type(&makeArgumentID<T&&>()) {} in TrackingDeleter() argument
65 TrackingDeleter& operator=(TrackingDeleter const&) { in operator =() argument
66 arg_type = &makeArgumentID<TrackingDeleter const&>(); in operator =()
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
Dmove_convert.pass.cpp63 template <int ID> struct TrackingDeleter;
67 struct TrackingDeleter { struct
68 TrackingDeleter() : arg_type(&makeArgumentID<>()) {} in TrackingDeleter() function
70 TrackingDeleter(TrackingDeleter const&) in TrackingDeleter() function
71 : arg_type(&makeArgumentID<TrackingDeleter const&>()) {} in TrackingDeleter()
73 TrackingDeleter(TrackingDeleter&&) in TrackingDeleter() function
74 : arg_type(&makeArgumentID<TrackingDeleter &&>()) {} in TrackingDeleter()
76 template <class T, class = EnableIfSpecialization<TrackingDeleter, T> >
77 TrackingDeleter(T&&) : arg_type(&makeArgumentID<T&&>()) {} in TrackingDeleter() function
79 TrackingDeleter& operator=(TrackingDeleter const&) { in operator =() argument
[all …]