Home
last modified time | relevance | path

Searched refs:Moveable (Results 1 – 6 of 6) sorted by relevance

/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dinsert_or_assign.pass.cpp30 class Moveable class
32 Moveable(const Moveable&);
33 Moveable& operator=(const Moveable&);
38 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable
39 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable
40 Moveable(Moveable&& x) in Moveable() function in Moveable
43 Moveable& operator=(Moveable&& x) in operator =()
49 bool operator==(const Moveable& x) const in operator ==()
51 bool operator<(const Moveable& x) const in operator <()
60 template <> struct hash<Moveable> {
[all …]
Dtry.emplace.pass.cpp29 class Moveable class
31 Moveable(const Moveable&);
32 Moveable& operator=(const Moveable&);
37 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable
38 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable
39 Moveable(Moveable&& x) in Moveable() function in Moveable
42 Moveable& operator=(Moveable&& x) in operator =()
48 bool operator==(const Moveable& x) const in operator ==()
50 bool operator<(const Moveable& x) const in operator <()
59 template <> struct hash<Moveable> {
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dinsert_or_assign.pass.cpp31 class Moveable class
33 Moveable(const Moveable&);
34 Moveable& operator=(const Moveable&);
39 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable
40 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable
41 Moveable(Moveable&& x) in Moveable() function in Moveable
44 Moveable& operator=(Moveable&& x) in operator =()
50 bool operator==(const Moveable& x) const in operator ==()
52 bool operator<(const Moveable& x) const in operator <()
63 typedef std::map<int, Moveable> M; in main()
[all …]
Dtry.emplace.pass.cpp29 class Moveable class
31 Moveable(const Moveable&);
32 Moveable& operator=(const Moveable&);
37 Moveable() : int_(0), double_(0) {} in Moveable() function in Moveable
38 Moveable(int i, double d) : int_(i), double_(d) {} in Moveable() function in Moveable
39 Moveable(Moveable&& x) in Moveable() function in Moveable
42 Moveable& operator=(Moveable&& x) in operator =()
48 bool operator==(const Moveable& x) const in operator ==()
50 bool operator<(const Moveable& x) const in operator <()
61 typedef std::map<int, Moveable> M; in main()
[all …]
/external/clang/test/CXX/special/class.copy/
Dp11.0x.move.cpp153 struct Moveable { struct
154 Moveable();
155 Moveable(Moveable&&);
159 Moveable M;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DSTLExtrasTest.cpp143 template <bool Moveable, bool Copyable>
144 struct Range : CanMove<Moveable>, CanCopy<Copyable> {
147 Range(Range &&R) : CanMove<Moveable>(std::move(R)), C(R.C), M(R.M), D(R.D) { in Range()