Comment Here's some books if you want to better your C++ (Score 1) 283
You could get the STL Tutorial and Reference Guide which will get you started with templates Meyer's Exceptional STL and Exceptional C++ will help. Herb Sutter's Exceptional C++ Style will get you going. Then you'll be ready for C++ Template Metaprogramming by Abrahams and Gurtovnoy. As a mathematician you'd probably enjoy Elements of Programming by Stepanov and McJones which teaches you a LOT about template programming.