• Advertisement
Sign in to follow this  
  • entries
    122
  • comments
    121
  • views
    68723

Templates

Sign in to follow this  

72 views

Writing from another computer, so I can't get my code right now.

I'm experimenting with templates and overloading the () operator (function objects) so I can simplyfy my store component. Right now I have rwo store functions, each doing the same thing, other than the type of item they're handling. They're hard to keep in-sync too. I'm working with three classes, all very simplified, to test this usage of function objects. I had some troubles with getting them to work right, but now I can simplify the store. [grin]
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement