Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Score{
- public:
- Score CreateScore(PartNote newnote);
- private:
- Score const * const parent;
- ScoreTemplate const * const sctmplt;
- Score(Score const*const old, PartNote const*const newnote):sctmplt(old->sctmplt),notes(newnote), parent(this){}
- };
- Score Score::CreateScore(PartNote const newnote)
- {
- Score ret = new Score(this, newnote);
- return ret;
- }
Add Comment
Please, Sign In to add comment