代码搜索:using 开发教程
找到约 10,000 项符合「using 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4579056
c using5.c
// { dg-do compile }
// Origin: Volker Reichelt
// PR c++/10554: ICE for member using declaration with failed
// scope name lookup.
template struct A
{
www.eeworm.com/read/240162/4579249
c using2.c
namespace N {
template
struct foo {};
}
int main() {
using N::foo; // { dg-error "" }
}
www.eeworm.com/read/240162/4579326
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/240162/4579773
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/240162/4579790
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/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.