代码搜索:operators

找到约 8,993 项符合「operators」的源代码

代码结果 8,993
www.eeworm.com/read/190666/5174625

c operators22.c

// Build don't link: // GROUPS passed operators template class t { public: t() {} }; class m { t c; public: m() : c() {} }; m *p() {return new m;}
www.eeworm.com/read/190666/5174629

c operators11.c

// Build don't link: // GROUPS passed operators // opr-eq file // Message-Id: // From: rowlands@hc.ti.com (Jon Rowlands) // Subject: g++ 2.4.5: assignment operator in base cla
www.eeworm.com/read/190666/5174640

c operators3.c

// Build don't link: // GROUPS passed operators class X { }; void operator->(X& a, X& b) {} // MUST be a member function// ERROR - .*
www.eeworm.com/read/190666/5174714

c operators1.c

// Build don't link: // GROUPS passed operators struct A { int x; }; int operator()(A x,float y) { // MUST be a member function// ERROR - .* return 1; } int main() { A x; x(1.0); // ERROR - no
www.eeworm.com/read/190666/5174752

c operators2.c

// Build don't link: // GROUPS passed operators class X { }; void operator[](X& a, X& b) {} // MUST be a member function// ERROR - .*
www.eeworm.com/read/190666/5174800

c operators6.c

// Build don't link: // GROUPS passed operators class a { public: a* operator->() { return this; } void p(); }; void a::p() { operator->(); }
www.eeworm.com/read/190666/5174807

c operators8.c

// Build don't link: // GROUPS passed operators struct A { char *p; operator char *(); }; char foo(A a) { return a[0]; }
www.eeworm.com/read/190666/5174842

c operators4.c

// GROUPS passed operators // Check that the & operator, when applied to a global function // or member function returns a proper value as long as the context // in which the result of & is used requi
www.eeworm.com/read/190666/5174892

c operators7.c

// Build don't link: // GROUPS passed operators class A { char *p; public: operator const char *() const { return p; } }; int foo(const A &a) { return (a != 0); }
www.eeworm.com/read/190666/5174935

c operators5.c

// GROUPS passed operators // Check that operators may be (directly) recursive. extern "C" int printf (const char *, ...); struct base { int i; }; base base_variable; base operator+ (const base&