Lines Matching refs:eq
44 typedef std::pair<C::iterator, C::iterator> Eq;
45 Eq eq = c.equal_range(1);
46 assert(std::distance(eq.first, eq.second) == 2);
47 C::iterator k = eq.first;
53 eq = c.equal_range(2);
54 assert(std::distance(eq.first, eq.second) == 2);
55 k = eq.first;
61 eq = c.equal_range(3);
62 assert(std::distance(eq.first, eq.second) == 1);
63 k = eq.first;
66 eq = c.equal_range(4);
67 assert(std::distance(eq.first, eq.second) == 1);
68 k = eq.first;
91 typedef std::pair<C::iterator, C::iterator> Eq;
92 Eq eq = c.equal_range(1);
93 assert(std::distance(eq.first, eq.second) == 2);
94 C::iterator k = eq.first;
100 eq = c.equal_range(2);
101 assert(std::distance(eq.first, eq.second) == 2);
102 k = eq.first;
108 eq = c.equal_range(3);
109 assert(std::distance(eq.first, eq.second) == 1);
110 k = eq.first;
113 eq = c.equal_range(4);
114 assert(std::distance(eq.first, eq.second) == 1);
115 k = eq.first;