What are you talking about? The standard Teensy toolchain is quite old at this point, but it does include the C++ standard library and supports C++11. Things like lambdas, templates and std::function...