How does the compiler handle an in-class function definition?
Example:

// File A.h

class A {
 int foo(void) { return x; }
 int bar(void);
 int x;

}

// File A.cc
#include "A.h"
int A::bar(void) { ... }

How is "foo()" represented in the AST when parsing A.cc?


Thanks,
rick

Reply via email to