Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Class {
- void build();
- bool isBuilt();
- }
- bool Class::build(){
- if ( !parent->isBuilt() ){
- parent->build();
- }
- ...
- Member* m = ...
- if ( !m->type->isBuild() ){
- m->type->build();
- }
- ...
- built = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement