Advertisement
Guest User

Untitled

a guest
Oct 9th, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. struct SameYear
  2. {
  3. SameYear() : yearRelease(0) {};
  4.  
  5. int yearRelease;
  6. bool yearsCounter;
  7.  
  8. bool operator()(const BoardGame & game)
  9. {
  10. if (yearRelease = game.year)
  11. {
  12. return yearRelease = true;
  13. }
  14. }
  15.  
  16. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement