A VS2013 bug. Can be compiled with G++