代码搜索:operators
找到约 8,993 项符合「operators」的源代码
代码结果 8,993
www.eeworm.com/read/470720/1446849
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/470720/1446923
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/470720/1446961
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/470720/1447009
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/470720/1447016
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/470720/1447051
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/470720/1447101
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/470720/1447144
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&
www.eeworm.com/read/470693/1458533
c operators3.c
// Build don't link:
// GROUPS passed operators
// opr-pl file
// Message-Id:
// From: grahamd@zeus.research.otca.oz.au (Graham Dumpleton)
// Subject: Fa
www.eeworm.com/read/470693/1458544
c operators24.c
// Build don't link:
// GROUPS passed operators
// opr-new file
// From: rwave!myersn%rwave.roguewave@cs.orst.edu (Nathan Myers)
// Date: Wed, 16 Dec 92 11:55 PST
// Subject: 2.3.2: friend decl