代码搜索:using 开发教程
找到约 10,000 项符合「using 开发教程」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4674550
c using11.c
// { dg-do assemble }
class joey {
public:
typedef int SVec;
};
using joey::SVec; // { dg-error "" } joey is not a namespace
www.eeworm.com/read/233448/4674554
c using14.c
// { dg-do assemble }
// Origin: Mark Mitchell
extern "C" void f ();
namespace N {
extern "C" void f ();
}
using N::f;
void g ()
{
f ();
}
www.eeworm.com/read/233448/4674556
c using12.c
// { dg-do assemble }
// Origin: Brendan Kehoe
namespace foo
{
void x (bool); // { dg-error "" } candidates
void x (char); // { dg-error "" } candidates
void x (in
www.eeworm.com/read/233448/4674570
c using1.c
// { dg-do assemble }
using namespace bb; // { dg-error "" } .*
www.eeworm.com/read/233448/4674573
c using3.c
// { dg-do assemble }
typedef unsigned int atypedef;
struct astruct{};
void afunction();
void aovlfunction();
void aovlfunction(int);
int avariable;
namespace foo {
using ::atypedef;
using ::as
www.eeworm.com/read/233448/4674587
c using5.c
// { dg-do assemble }
namespace a {
class b {
using std::c; //{ dg-error "" } namespace using on class level
};
}
www.eeworm.com/read/190666/5172552
c using2.c
// Copyright (C) 2001 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms
www.eeworm.com/read/190666/5172671
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/190666/5172672
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/190666/5172972
c using9.c
// Build don't link:
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 26 Feb 2001
// Bug 75. using declarations cannot introduce fun