Add templates for MSVC 11.0 (2012)

@istepura Could you do me a favor please? I just need to make sure that this template works for MSVC2012. Thanks!