代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/273525/4208766
style graphstyle-matrixgraph.style
*! version 1.0.1 20jul2004
sequence 2110
set margin scheme matrixgraph
set boxstyle scheme matrixgraph_plotregion
set inner_boxstyle scheme matrixgraph_iplotregion
set declared
www.eeworm.com/read/440906/1776617
c ns11.c
// Build don't link
// Check [namespace.memdef]/2
namespace A{
void f(int);
void f(int,int);
int i; // ERROR - .*
}
void A::f(){} // ERROR - should have been declared befo
www.eeworm.com/read/440906/1777723
c 900214_01.c
// g++ 1.36.1 bug 900214_01
// g++ allows function members of incomplete types to be declared to be
// friends of other types.
// Cfront 2.0 passes this test.
// keywords: friends, incomplete types
www.eeworm.com/read/440906/1777728
c 900210_10.c
// g++ 1.36.1 bug 900210_10
// g++ allows operator[] to be declared as a static member function.
// This is illegal.
// Cfront 2.0 passes this test.
// keywords: operator[], static function members
www.eeworm.com/read/367470/2842515
h blob.h
//**Ensure the class isn't declared twice
#ifndef _BLOB_H
#define _BLOB_H
//**Derive a CBlob class from CObject
class CBlob:public CObject
{
//**Include the Serialization functions
DECLARE_
www.eeworm.com/read/366702/2865700
c scope1.c
// Test that we've scoped the destructor properly for variables declared
// in a conditional.
// { dg-do run }
extern "C" void abort ();
class C
{
bool live;
public:
C();
C(const C &);
~C (
www.eeworm.com/read/366702/2866178
c builtin4.c
// Verify that builtin is used when declared in global namespace
// { dg-do compile }
// { dg-options "-Wall" }
extern "C" int printf(const char*,...);
void foo() {
printf("%d"); // { dg-warnin
www.eeworm.com/read/366702/2866792
c vt-34399.c
// { dg-options "-std=c++0x" }
template struct A
{
void foo();
};
struct B
{
template friend void A::A::foo(); // { dg-error "declared as friend" }
};
www.eeworm.com/read/366702/2868552
c void11.c
// PR c++/31446
template struct A // { dg-error "valid type" }
{
template friend void foo();
};
void bar()
{
foo(); // { dg-error "not declared|primary-expression" }
}
www.eeworm.com/read/366702/2870261
c crash5.c
// { dg-do assemble }
template
struct K {
void f();
};
template
void
K::f() // { dg-error "" } i has not been declared
{
}