代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5519159
c using2.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 22 Jul 2003
// PR 9447. Using decls in template classes.
templat
www.eeworm.com/read/162614/5519204
c using10.c
// PR c++/22136
struct B {
void foo();
};
template class I : public B {};
template class D : private I {
I::B::foo;
};
www.eeworm.com/read/162614/5519210
c using11.c
struct X {
void f();
};
template
struct S : public T {
using X::f;
};
www.eeworm.com/read/162614/5519352
c using1.c
// { dg-do run }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 22 Jul 2003
// PR 9447. Using decls in template classes.
template
www.eeworm.com/read/162614/5519368
c using3.c
// { dg-do run }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 22 Jul 2003
// PR 9447. Using decls in template classes.
template
www.eeworm.com/read/162614/5519419
c using5.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 31 Jul 2003
// PR 9447. further test cases for dependent using de
www.eeworm.com/read/162614/5519633
c using9.c
// { dg-do assemble }
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 26 Feb 2001
// Bug 75. using declarations cannot introduce f
www.eeworm.com/read/162614/5519646
c using4.c
// { dg-do assemble }
// Based on a testcase by Martin Bachtold
struct foo {
void m();
};
struct bar : foo {
using foo::m;
void m(int);
};
void f() {
bar b;
www.eeworm.com/read/162614/5519730
c using8.c
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 14 Nov 2000
// We rejected using decls bringing in functions fr
www.eeworm.com/read/162614/5519753
c using7.c
// { dg-do assemble }
class A {
protected:
static void f() {};
};
class B : A {
public:
using A::f;
void g() {
f();
A::f();
}
struct C {
void g() {
f();
A::f();