代码搜索:using 有哪些应用?
找到约 10,000 项符合「using 有哪些应用?」的源代码
代码结果 10,000
www.eeworm.com/read/470720/1446565
c using1.c
// Build don't link:
using namespace bb; // ERROR - .*
www.eeworm.com/read/470720/1446568
c using3.c
// Build don't link:
typedef unsigned int atypedef;
struct astruct{};
void afunction();
void aovlfunction();
void aovlfunction(int);
int avariable;
namespace foo {
using ::atypedef;
using ::astr
www.eeworm.com/read/470720/1446582
c using5.c
// Build don't link:
namespace a {
class b {
using std::c; //ERROR - namespace using on class level
};
}
www.eeworm.com/read/470693/1456333
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/470693/1456343
c using3.c
template struct A
{
int i;
};
template struct B : A
{
using A::i; // { dg-error "" }
};
B b; // { dg-error "" }
www.eeworm.com/read/470693/1456705
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/470693/1456717
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/470693/1456718
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/470693/1457126
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
www.eeworm.com/read/470693/1457139
c using4.c
// Build don't link:
// Based on a testcase by Martin Bachtold
struct foo {
void m();
};
struct bar : foo {
using foo::m;
void m(int);
};
void f() {
bar b;
b.