Home
last modified time | relevance | path

Searched defs:PredLWG526 (Results 1 – 4 of 4) sorted by relevance

/llvm-project/libcxx/test/std/containers/sequences/list/list.ops/
H A Dunique_pred.pass.cpp26 struct PredLWG526 { struct
27 PredLWG526(int i) : i_(i) {} in PredLWG526() function
28 ~PredLWG526() { i_ = -32767; } in ~PredLWG526() argument
29 bool operator()(const PredLWG526& lhs, const PredLWG526& rhs) const { return lhs.i_ == rhs.i_; } in operator ()() argument
31 bool operator==(int i) const { return i == i_; } in operator ==()
55 std::list<PredLWG526> c(a1, a1 + 9); in main() argument
H A Dremove_if.pass.cpp32 struct PredLWG526 { struct
33 PredLWG526(int i) : i_(i) {} in PredLWG526() argument
34 ~PredLWG526() { i_ = -32767; } in ~PredLWG526() argument
35 bool operator()(const PredLWG526& p) const { return p.i_ == i_; } in operator ()() argument
37 bool operator==(int i) const { return i == i_; } in operator ==()
38 int i_;
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
H A Dunique_pred.pass.cpp37 struct PredLWG526 { struct
38 PredLWG526(int i) : i_(i) {} in PredLWG526() argument
39 ~PredLWG526() { i_ = -32767; } in ~PredLWG526() argument
40 bool operator()(const PredLWG526& lhs, const PredLWG526& rhs) const { return lhs.i_ == rhs.i_; } in operator ()() argument
42 bool operator==(int i) const { return i == i_; } in operator ==()
43 int i_;
H A Dremove_if.pass.cpp44 struct PredLWG526 { struct
45 PredLWG526(int i) : i_(i) {} in PredLWG526() function
46 ~PredLWG526() { i_ = -32767; } in ~PredLWG526() argument
47 bool operator()(const PredLWG526& p) const { return p.i_ == i_; } in operator ()() argument
49 bool operator==(int i) const { return i == i_; } in operator ==()
50 int i_;