Tags » Meta-programming

Composable Templated Vectors

In this blog entry, I present a code snippet demonstrating how a templated math vector class can have a construction interface which allows it to be composed of any number of smaller or equal-dimension vector types. 1,116 more words

C++

Yes, a degree in computer science is worth it.

Or any formal course in computer science, for that matter.

Some people say that computer science is too theoretical, in reality you’ll never use the things that you learned. 679 more words

Meta-programming

Detecting the Presence of a Member Function

In this blog entry, I present a code snippet to determine whether a given type contains a specific member function. The caller can indicate what types of parameters he intends on passing into the function. 1,393 more words

C++

Code Katas

I found this post  by Jeff Atwood inspiring. I’ve always known code katas to be little self-contained programming puzzles, not unlike those algorithm questions that you prepare for your tech interviews, but it seems that they can be more “meta” than that. 485 more words

Life

Generalized erasure for STL

An amazing way for generalizing erasure for elements from STL containers by “Stephan-T-Lavavej” from his STL video on Channel Nine using template Meta-programming.

Here is the code: 533 more words

C++