代码搜索:parameter
找到约 10,000 项符合「parameter」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5519327
c friend14.c
// { dg-do compile }
// Origin: Wolfgang Bangerth
// Perform access checking to parameter and return type of
// function template correctly when the template is friend.
www.eeworm.com/read/162614/5519332
c sizeof1.c
// Test use of `sizeof' as a template parameter.
// Origin: smacdonald@seimac.com
// { dg-do compile }
template struct A { static char *value; };
template
struct B
www.eeworm.com/read/162614/5519370
c friend12.c
// { dg-do compile }
// Origin: Wolfgang Bangerth
// PR 9030. Perform access checking to parameter and return type of
// function template correctly when the template i
www.eeworm.com/read/162614/5519404
c ttp14.c
// { dg-do compile }
// Origin: akim@epita.fr
// Volker Reichelt
// PR c++/18276: Template substitution of template template parameter
template struct
www.eeworm.com/read/162614/5519875
c static16.c
// { dg-do run }
// Test that we properly evaluate the object parameter when accessing static
// members.
struct A {
static void f () {}
static int i;
};
int A::i;
int c = 0;
A g ()
{
++c;
www.eeworm.com/read/162614/5520417
c spec38.c
// { dg-do assemble }
//
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 19 Jan 2001
// Bug 1638. We failed to check if a function in
www.eeworm.com/read/162614/5522284
c incomplete1.c
// { dg-do assemble }
// The reference parameter to fred isn't dereferenced properly.
class Gump {};
Gump operator & (const Gump x){return x;}
class B;
void *sam(int &x)
{return &x;}
const void
www.eeworm.com/read/162614/5523152
f90 initialization_1.f90
! PR 15963 -- checks character comparison in initialization expressions
character(8), parameter :: a(5) = (/ "H", "E", "L", "L", "O" /)
call x(a)
contains
subroutine x(a)
character(8), intent(in) :: a
www.eeworm.com/read/162614/5523189
f90 integer_select.f90
PROGRAM Test_INTEGER_select
! Every wrong branch leads to destruction.
INTEGER, PARAMETER :: maxI = HUGE (maxI)
INTEGER, PARAMETER :: minI = -1 * maxI
INTEGER :: I = 0
SELECT CASE (I)
www.eeworm.com/read/162614/5523379
f90 contained_1.f90
! Obscure failure that disappeared when the parameter was removed.
! Works OK now.
module mymod
implicit none
contains
subroutine test(i)
implicit none
integer i
end subroutine
end m