代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/440906/1777918
c parse11.c
// PRMS Id: 6825
// Build don't link:
class aClass
{
;
private:
; // This line causes problems
};
www.eeworm.com/read/440906/1777947
c parse2.c
// Bug: g++ doesn't understand constructor syntax for pointers.
// Build don't link:
void f () {
char * p (0);
}
www.eeworm.com/read/440906/1777949
c parse3.c
// PRMS Id: 4484 (bug 2)
// Bug: g++ does not grok abstract declarator syntax for method pointers.
// Build don't link:
template class A { };
void (A::*p)() = (void (A::*)())0; //
www.eeworm.com/read/440906/1777956
c parse8.c
// Build don't link:
void foo(const int* const); // gets bogus error
www.eeworm.com/read/440906/1777974
c parse7.c
// Bug: g++ tries to parse this as a constructor.
// Build don't link:
typedef int foo;
struct A {
foo (*bar)();
};
www.eeworm.com/read/440906/1778032
c parse1.c
// Bug: g++ parses the declaration of r as a function declaration.
// Build don't link:
void foo (int i)
{
int &r (i);
r = 1; // gets bogus error -
}
www.eeworm.com/read/440906/1778073
c parse12.c
// PRMS Id: 6821
struct A {
int operator()(int i) { return i; }
};
struct B {
A* p;
int f () { return (*p)(42); } // gets bogus error
};
int main ()
{
B b = { new A };
return b.f () != 4
www.eeworm.com/read/440906/1778096
c parse14.c
// Bug: g++ decides that A::foo is introducing a constructor declarator.
// Build don't link:
struct A {
typedef bool foo;
};
A::foo (*bar) ();
struct B {
A::foo (*bar) ();
};
www.eeworm.com/read/440906/1778128
c parse13.c
// Build don't link:
struct A {
struct B {};
struct C;
};
struct A :: C : A :: B {}; // gets bogus error - parse error before `:'
www.eeworm.com/read/440906/1778129
c parse9.c
// PRMS Id: 5720
// Bug: the extra set of parens confuses the expr/declarator disambiguation.
class Fu
{
int val;
public:
Fu(int i) : val(i) { };
void print() { }
};
int main(int argc, char *