Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching full:operator

15 bool operator+(const Y&, X* (&xs)[100]) { return false; }
146 const Debug& operator<< (unsigned a) const { return *this; }
164 template<typename T> bool operator==(const A<T>&, const A<T>&) { return true; }
168 template bool NS::operator==(const ::A<char>&, const ::A<char>&);
171 template<typename T> bool operator==(const A<T>&, const A<T>&) { return true; }
175 template bool std::operator==(const ::A<char>&, const ::A<char>&);
271 // The ternary operator.
278 Ops& operator+(const Ops&);
279 Ops& operator-(const Ops&);
280 Ops& operator&(const Ops&);
281 Ops& operator*(const Ops&);
287 Ops& Ops::operator+(const Ops&) { return *this; }
289 Ops& Ops::operator-(const Ops&) { return *this; }
291 Ops& Ops::operator&(const Ops&) { return *this; }
293 Ops& Ops::operator*(const Ops&) { return *this; }
556 int operator+();
557 int operator-();
558 int operator*();
559 int operator&();
563 template <typename T> void f(S<&T::operator+>) {}
564 template void f<A>(S<&A::operator+>);
566 template <typename T> void f(S<&T::operator- >) {}
567 template void f<A>(S<&A::operator- >);
569 template <typename T> void f(S<&T::operator*>) {}
570 template void f<A>(S<&A::operator*>);
572 template <typename T> void f(S<&T::operator&>) {}
573 template void f<A>(S<&A::operator&>);
585 int operator+();
586 operator int();
587 template <typename T> int operator-();
593 template <typename T> void g (S<&T::operator+ >) {}
594 template <typename T> void g (S<&T::operator int>) {}
595 template <typename T> void g (S<&T::template operator- <double> >) {}
600 template void g<A>(S<&A::operator+>);
602 template void g<A>(S<&A::operator int>);
604 template void g<A>(S<&A::operator-<double> >);
829 // Dependent operator names of unknown arity.
831 template<typename U> A operator+(U) const;
835 void f1(decltype(sizeof(&T::template operator+<int>))) {}