代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4671624
c using3.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 Sep 2003
// Origin: stefaandr@hotmail.com
// PR c++/11794. Usin
www.eeworm.com/read/233448/4672064
c using1.c
// PR c++/19406
// { dg-do compile }
struct A
{
virtual int foo();
double d;
};
struct B : public A
{
A::d;
};
B b;
www.eeworm.com/read/233448/4672255
c using2.c
// { dg-do run }
// Copyright (C) 2002 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 15 Sep 2002
// PR 7919. Methods found via using decls didn't have the
www.eeworm.com/read/233448/4672276
c using1.c
// Test that overloading on 'this' quals works with class using-declarations.
// { dg-do link }
struct A {
void f() const;
void f() {}
void g() const {}
void g();
void h() const;
void h(
www.eeworm.com/read/233448/4672279
c using3.c
class A
{
public:
typedef int T;
int a;
};
class B : virtual private A
{
};
class C : virtual private A, public B
{
public:
using A::a;
using A::T;
};
C::T x;
www.eeworm.com/read/233448/4672480
c using9.c
// { dg-do compile }
// Origin: stefaandr@hotmail.com
// PR c++/17154: Using declaration in partial class template specialization.
template struct A { void test_A() {}; };
te
www.eeworm.com/read/233448/4672498
c using4.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/233448/4672584
c using8.c
// { dg-do compile }
// Origin: Sergey Shandar
// PR c++/9810: Access checking for member function template
// appeared in using declaration.
struct A
{
template void F
www.eeworm.com/read/233448/4672607
c using7.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 1 Aug 2003
// PR 9447. Using decls in reopened template classes.