Lines Matching refs:t2
377 static bool compare( const std::weak_ptr<T> &t1, const std::weak_ptr<T> &t2 ) {
379 return t1.lock().get() == t2.lock().get();
383 static bool compare( const std::unique_ptr<T> &t1, const std::unique_ptr<T> &t2 ) {
385 return *t1 == *t2;
389 const std::pair< const std::weak_ptr<T1>, std::weak_ptr<T2> > &t2 ) {
391 return t1.first.lock().get() == t2.first.lock().get() &&
392 t1.second.lock().get() == t2.second.lock().get();
395 static bool compare( const T1 &t1, const T2 &t2 ) {
396 return t1 == t2;
399 bool operator()( T1 &t1, T2 &t2) const {
400 return compare( (const T1&)t1, (const T2&)t2 );