Jump to content
  • Advertisement
  • entries
  • comments
  • views

Playing With Template Meta-Programming Part 2

Sign in to follow this  


Seeing as how I've sortof decided to move my blog off site, at least until GDNet blogs actually are feature complete, I'll only post partial topics to this blog, and link to my external blog. Feel free to comment here or on the site.

Furthermore, the answer to the previous post was that its an implementation of shift-add multiplication. Which also happens to describe how it works [grin].

Previously I covered the topic of SFINAE as a means of using compile-time information provided by the C++ language's overload resolution mechanism to make decisions at compile-time. In the context of TR1, specifically the reference_wrapper class, we can use SFINAE as a means of determining various properties that the reference_wrapper class is required to provide depending on the type being wrapped.
If you would like to read more, see here (now with RSS/ATOM feeds).
Sign in to follow this  


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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!