Shadowstorm Ragnarok

The final resting place of darkness and electricity. Seriously though, just a place to talk about game development, coding, and RPGs.
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share
 

 Curiously Recurring Template Patterns

Go down 
AuthorMessage
Ion Raven
Admin
Ion Raven

Posts : 46
Join date : 2010-09-21
Age : 30

Curiously Recurring Template Patterns Empty
PostSubject: Curiously Recurring Template Patterns   Curiously Recurring Template Patterns EmptyTue Sep 28, 2010 5:12 pm

CRTP can be useful for many things like allowing objects to be counted.

I actually use it with all of my game objects as it allows me to easily implement a way to track all the objects of a particular type that automatically adds and removes them from the list as needed.

PS: As I continue to post you might notice that I'll often reference other sites (such a wikipedia, I might reference C++ FAQ lite or cplusplus.com)

_________________
I'm the lightning in the storm. In a single unpredictable flash of chaos exerting power, resounding my presence even after I leave.
Back to top Go down
View user profile http://ionshadow.forumotion.com
 
Curiously Recurring Template Patterns
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Shadowstorm Ragnarok :: Random :: Coding-
Jump to: