fixing unimplemented c++14 functions
from vc14 to vc 12