代码搜索:Namespace

找到约 10,000 项符合「Namespace」的源代码

代码结果 10,000
www.eeworm.com/read/168845/5432206

hpp add_to_namespace.hpp

// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifnde
www.eeworm.com/read/168845/5436190

cpp namespace_disambiguation.cpp

// Boost enable_if library // Copyright 2003
www.eeworm.com/read/162614/5517735

c namespace3.c

/* PR c+/3816 */ /* { dg-do compile } */ namespace A {} namespace OtherNamespace { typedef struct { int member; } A; // used to conflict with A namespace } // end of namespace
www.eeworm.com/read/162614/5517738

c namespace8.c

namespace X { typedef struct { } x; } typedef X::x x; using X::x;
www.eeworm.com/read/162614/5517742

c namespace10.c

// PR c++/16529 namespace m {} // { dg-error "" } namespace n { namespace m {} } namespace m = n::m; // { dg-error "" }
www.eeworm.com/read/162614/5517744

c namespace9.c

namespace A { void f(); } int g() { struct f { }; using A::f; }
www.eeworm.com/read/162614/5517868

c namespace4.c

/* PR c++/4652 */ /* { dg-do compile } */ /* Another conflict between namespace IDs and other things. */ namespace A { } class B { struct { int x; } A; }; int main() { B b; retu
www.eeworm.com/read/162614/5517872

c namespace2.c

/* PR c++/2537 */ /* { dg-do compile } */ // Used to have namespace name/identifier conflict, prior to 3.4. namespace baz {} namespace foo { struct bar { unsigned baz:1; }; }
www.eeworm.com/read/162614/5517915

c namespace6.c

namespace a { namespace b { void foo(); } } void a::b:foo() // { dg-error "" } { }
www.eeworm.com/read/162614/5517972

c namespace7.c

namespace O { struct SO; namespace I { struct SI; struct O::SO {}; // { dg-error "" } } struct I::SI {}; }