代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/233448/4671145
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/233448/4674302
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/233448/4674966
c friend4.c
// { dg-do assemble }
// GROUPS passed friends
// do_friend should complain that foo was declared as a friend of
// A before A was defined
struct A;
struct B { friend A::foo (); };// { dg-error "" }
www.eeworm.com/read/233448/4675001
c arm3.c
// { dg-do assemble }
// 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/233448/4675642
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/233448/4676362
mm super-class-2.mm
/* APPLE LOCAL file mainline */
/* Bail out gracefully if attempting to derive from a class that has only been
forward-declared (via @class). Conversely, @compatibility_alias declarations
shoul
www.eeworm.com/read/233448/4676542
m super-class-4.m
/* APPLE LOCAL file mainliine */
/* Bail out gracefully if attempting to derive from a class that has only been
forward-declared (via @class). Conversely, @compatibility_alias declarations
shou
www.eeworm.com/read/233448/4683290
c 20010701-1.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/221464/4828748
jamfile
# (C) Copyright Rene Rivera, 2002.
#
# See accompanying license for terms and conditions of use.
#
# Example of how to use a template target declared in another project.
# This is for Boost.Bui
www.eeworm.com/read/190666/5174084
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