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  


 Curiously Recurring Template Patterns

Go down 
Ion Raven
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

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
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: