代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/162614/5517457
c template1.c
/* PR c++/3009 */
/* { dg-do run } */
// According to 14.6.2.4 of C++ Standard:
// "If a base class is a dependent type, a member of that
// class cannot hide a name declared within a template, or a
/
www.eeworm.com/read/162614/5520747
c explicit73.c
// { dg-do assemble }
// by Alexandre Oliva
// According to [temp.expl.spec]/2, a template explicit specialization
// must be declared in the namespace that contains the decl
www.eeworm.com/read/162614/5522087
c 900220_01.c
// { dg-do run }
// g++ 1.36.1 bug 900220_01
// Ref: 12.8
// Section 12.8 says:
// "That is, X::operator=() will be generated only if no assignment
// operation is explicitly declared and an objec
www.eeworm.com/read/162614/5526023
f90 private_type_2.f90
! { dg-do compile }
! PR16404 test 6 - If a component of a derived type is of a type declared to
! be private, either the derived type definition must contain the PRIVATE
! statement, or the derived t
www.eeworm.com/read/340665/3274741
c explicit73.c
// Build don't link:
// by Alexandre Oliva
// According to [temp.expl.spec]/2, a template explicit specialization
// must be declared in the namespace that contains the declar
www.eeworm.com/read/340665/3274997
c template13.c
// Build don't link:
// Templates defined outside must be declared inside
// crash test - XFAIL *-*-*
namespace bar
{
template
void foo(); // trick it to provide some prior declaration
www.eeworm.com/read/340665/3275445
c arm3.c
// Build don't link:
// GROUPS passed initialization
// ARM $11.4: A function first declared in a friend decl is equivalent
// to an extern decl, so the below is illegal.
class X {
friend g();
www.eeworm.com/read/340665/3275567
c err-msg12.c
// Build don't link:
// GROUPS passed error-messages
class foo {
public:
friend mutable int x ();// ERROR - non-object member `x' cannot be declared `mutable'
};
www.eeworm.com/read/340665/3275621
c attrib6.c
// Test that postfix attributes only apply to a single declared object.
// (decl_attributes used to chain them onto the end of the prefix attributes,
// which caused them to apply to other declaration
www.eeworm.com/read/340665/3276078
c 900221_01.c
// g++ 1.36.1 bug 900221_01
// Ref: 3.2
//
// Section 3.2 of the C++ 2.0 Reference Manual says:
//
// "Names of formal arguments for a function are treated as if they
// were declared in the outermos