代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5518679
c using6.c
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 8 Jun 2005
struct A
{
operator int ();
};
template struct TPL : A
{
u
www.eeworm.com/read/162614/5518684
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/162614/5518708
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/162614/5518711
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/162614/5518716
c using5.c
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 8 Jun 2005
// PR 19496: Missing error during parsing.
// Origin: Volker Reichelt
www.eeworm.com/read/162614/5518939
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/162614/5518958
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/162614/5519058
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/162614/5519084
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/162614/5519101
c using6.c
namespace foo {
template
struct A {};
}
namespace bar {
template
struct A {};
}
namespace foo {
using bar::A; // { dg-error "" }
}