代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/470720/1448244
c eb75.c
// Build don't link:
int*& foo (int const *& x)
{
return const_cast (x);
}
/*
If the references in this example are changed to pointers (change
all `&''s to `*'), no warnings result.
I thi
www.eeworm.com/read/470720/1450599
c builtin-prefetch-3.c
/* Test that __builtin_prefetch does no harm.
Prefetch data using a variety of storage classes and address
expressions with volatile variables and pointers. */
int glob_int_arr[100];
int glob
www.eeworm.com/read/470693/1458988
c ptrmem3.c
// Build don't link:
// GROUPS passed pointers-to-members
template class TemplA {
T t;
};
template class TemplB {
public:
typedef void (T::*TClassMethod)();
private:
www.eeworm.com/read/470693/1459578
c 900519_06.c
// 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 required return type
// fro
www.eeworm.com/read/470693/1459588
c 900215_02.c
// g++ 1.36.1 bug 900215_02
// g++ allows global objects (which happen to be pointers to members of some
// class X) to be dereferenced without prefix object specifications within
// member function
www.eeworm.com/read/470693/1460190
c eb75.c
// Build don't link:
int*& foo (int const *& x)
{
return const_cast (x);
}
/*
If the references in this example are changed to pointers (change
all `&''s to `*'), no warnings result.
I thi
www.eeworm.com/read/470693/1462545
c builtin-prefetch-3.c
/* Test that __builtin_prefetch does no harm.
Prefetch data using a variety of storage classes and address
expressions with volatile variables and pointers. */
int glob_int_arr[100];
int glob
www.eeworm.com/read/240162/4582229
c ptrmem3.c
// { dg-do assemble }
// GROUPS passed pointers-to-members
template class TemplA {
T t;
};
template class TemplB {
public:
typedef void (T::*TClassMethod)();
private:
www.eeworm.com/read/240162/4583252
c template6.c
// { dg-do run }
// PRMS Id: 4656
// Testcase for use of member pointers in template resolution
template class A {
public:
A() : a(1) {}
T a;
};
template
int foo (T A:
www.eeworm.com/read/240162/4583424
c eb75.c
// { dg-do assemble }
int*& foo (int const *& x)
{
return const_cast (x);
}
/*
If the references in this example are changed to pointers (change
all `&''s to `*'), no warnings result.
I th