53 lines
386 B
C++
53 lines
386 B
C++
|
|
||
|
void Foo::foo(
|
||
|
int a,
|
||
|
float b,
|
||
|
);
|
||
|
void Foo::bar();
|
||
|
|
||
|
void func() {}
|
||
|
|
||
|
void func2();
|
||
|
|
||
|
void func2() {}
|
||
|
|
||
|
struct Foo1 {
|
||
|
|
||
|
};
|
||
|
|
||
|
typedef struct Foo2 Bar1;
|
||
|
|
||
|
typedef struct Foo3
|
||
|
{
|
||
|
|
||
|
} Bar2;
|
||
|
|
||
|
typedef enum Enum
|
||
|
{
|
||
|
|
||
|
} EnumName;
|
||
|
|
||
|
enum Enum
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
typedef enum Enum {
|
||
|
Foo;
|
||
|
} Enum;
|
||
|
|
||
|
class Foo
|
||
|
{
|
||
|
Foo();
|
||
|
~Foo();
|
||
|
|
||
|
public:
|
||
|
void foo();
|
||
|
|
||
|
private:
|
||
|
void bar();
|
||
|
|
||
|
}
|
||
|
|
||
|
Foo::Foo() {}
|
||
|
Foo::~Foo() {}
|