title: Empty operation-functions when using the Composite Pattern
body: <p>I'm trying to write a game using the <a href="http://en.wikipedia.org/wiki/Composite_pattern" rel="nofollow">Composite Pattern</a>.
  <br> 
  If i understand this right, every component has a operation-function that will be called in every frame. 
  Every composite(entity) has a operation-function, that will call the operation-functions of it's components.
  <br> 
  My problem is, that some components don't need a operation-function, because they only store information; i.e a position-component. 
  <br>
  Is it ok, to solve this by just leaving the functions empty? If not, is there a better way?</p>
  
  <p><strong>EDIT :</strong> I found out, that it doesn't matter. The Compiler ignores empty function calls if optimization is turned on. So it's maybe not as nice, but just as fast.</p>