no way to write C++11 with Rtools, so replacement of templates...