代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/240162/4582816
c 900519_06.c
// { dg-do assemble }
// g++ 1.37.1 bug 900519_06
// g++ allows the type given in an invocation of operator new to be a
// reference type.
// Since pointers to reference types are illegal, the requ
www.eeworm.com/read/240162/4589729
c fnptr-by-value-1_main.c
/* Test passing function pointers. */
extern void fnptr_by_value_1_x (void);
extern void exit (int);
int fails;
int
main ()
{
fnptr_by_value_1_x ();
exit (0);
}
www.eeworm.com/read/237551/4624879
h libc-vdso.h
/* Resolve function pointers to VDSO functions.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistri
www.eeworm.com/read/236440/4639792
c resample.c
// a52_resample_init should find the requested converter (from type flags ->
// given number of channels) and set up some function pointers...
// a52_resample() should do the conversion.
#include "
www.eeworm.com/read/233448/4672391
c dr49.c
// { dg-do compile }
// Contributed by: Giovanni Bajo
// DR 49: Non-constant pointers are invalid template arguments.
template struct R { /* ... */ };
te
www.eeworm.com/read/233448/4673090
c spec7.c
// { dg-do run }
// Test that we allow simple throw specs on pointers.
void f() throw () { }
void (*pf)() throw () = f;
struct A
{
void g() throw () { }
static void (A::*pmf)() throw ();
};
vo
www.eeworm.com/read/233448/4673619
c ptrmem9.c
// { dg-do run }
// Test that const-correctness is observed when using pointers-to-members.
struct A {
int f () { return 1; }
int f () const { return 0; }
};
struct B {
A a;
B() { }
};
int
www.eeworm.com/read/233448/4674502
c koenig5.c
// { dg-do assemble }
// To find function pointers in Koenig lookup is ok as long as we only find one.
namespace A{
void foo();
struct X{};
void (*bar)(X*)=0;
}
using A::X;
void (
www.eeworm.com/read/233448/4675634
c 900519_06.c
// { dg-do assemble }
// g++ 1.37.1 bug 900519_06
// g++ allows the type given in an invocation of operator new to be a
// reference type.
// Since pointers to reference types are illegal, the requ
www.eeworm.com/read/233448/4681618
f90 assignment_1.f90
! { dg-do run }
! { dg-options -Wsurprising }
integer, pointer :: p
integer, target :: t, s
! The tests for character pointers are currently commented out,
! because they don't yet work correctly.
!