代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4579792
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/240162/4579924
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/240162/4579984
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/240162/4580000
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.
www.eeworm.com/read/240162/4580010
c using6.c
namespace foo {
template
struct A {};
}
namespace bar {
template
struct A {};
}
namespace foo {
using bar::A; // { dg-error "" }
}
www.eeworm.com/read/240162/4580047
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/240162/4580160
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/240162/4580174
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/240162/4580206
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/240162/4580371
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