代码搜索:Local
找到约 10,000 项符合「Local」的源代码
代码结果 10,000
www.eeworm.com/read/470720/1445209
c local4.c
// Test that a local declaration of one of a global overload set works
int f () { return 0; }
int f (int);
int main ()
{
int f ();
return f ();
}
www.eeworm.com/read/470720/1445213
c local2.c
// Build don't link:
// Special g++ Options: -O2
void f ()
{
struct Init {
Init () {
}
};
}
www.eeworm.com/read/470720/1445365
c local1.c
// Build don't run:
struct Outer {
virtual ~Outer() {}
};
int
main()
{
{ struct Inner : virtual public Outer {} inner; }
{ struct Inner : virtual public Outer {} inner; }
}
www.eeworm.com/read/470720/1445731
c local7.c
// Build don't link:
template inline STRUCT *
setback(MEMBER *bp, MEMBER STRUCT::*offset)
{
if(!bp) return 0;
union { int i; MEMBER STRUCT::*of; } u;
www.eeworm.com/read/470720/1445741
c local3.c
extern "C" void abort();
template
void f(T)
{
int j;
j = 6;
struct S {
int i;
};
S s;
s.i = j;
if (s.i != 6)
abort();
}
int main()
{
f(7);
}
www.eeworm.com/read/470720/1445783
c local4.c
extern "C" void abort();
template
struct S {};
S si;
template
int f(T t)
{
struct S {
int g(int i) { return i + 2; }
};
S s;
return s.g(t) + s.g(t);
}
int
www.eeworm.com/read/470720/1445787
c local2.c
extern "C" void abort();
template
void f(T)
{
struct S {
int i;
} s;
s.i = 3;
if (s.i != 3)
abort();
}
int main()
{
f(7);
}
www.eeworm.com/read/470720/1445981
c local6.c
extern "C" void abort();
template
int f(T)
{
struct S1 {
virtual int foo() { return 1; }
};
struct S2 : public S1 {
int foo() { return 2; }
};
S1* s2 = new S2;
return
www.eeworm.com/read/470720/1446015
c local1.c
template inline STRUCT *
setback(MEMBER *bp, MEMBER STRUCT::*offset)
{
if(!bp) return 0;
union { int i; MEMBER STRUCT::*of; } u;
u.of = offset;
www.eeworm.com/read/470720/1446236
c local5.c
template
class b
{
private:
char a(int x)
{
union {
int i;
char c;
} val;
val.i = x;
return val.c;
};
public:
b() {
}
};
int main() {
b n;