Lines Matching defs:const
5 operator int() const;
27 void operator bool(int, ...) const; // expected-error{{conversion function cannot have a return type}} \
30 operator bool(int a = 4, int b = 6) const; // expected-error{{conversion function cannot have any parameters}}
33 operator float(...) const; // expected-error{{conversion function cannot be variadic}}
57 operator A&() const; // expected-warning{{conversion function converting 'B' to its base class 'A' will never be used}}
58 operator const void() const; // expected-warning{{conversion function converting 'B' to 'const void' will never be used}}
59 operator const B(); // expected-warning{{conversion function converting 'B' to itself will never be used}}
66 Flop(const Flip&); // expected-note{{candidate constructor}}
69 operator Flop() const; // expected-note{{candidate function}}
75 operator const char *() const;
78 C::operator const char*() const { return 0; }
80 void f(const C& c) {
81 const char* v = c;
127 A1(const char *);
131 A1(const A1&); // expected-note 2 {{declared private here}}
153 operator A<T, typename sneaky_int<T>::type>&() const; // expected-note{{candidate function}}
159 const A<float, int> &caf2 = E();
167 () const;
213 Other(const Other &);
266 operator const char*() const { return reinterpret_cast<const char*>(ptr); }
269 void fake_memcpy(const void *);
280 operator const struct X *() const;
378 const T& operator[](int)const;
403 operator A() const;
407 A f(const C c) { return c; }