Modernize internal utilities for C++14

libeigen/eigen!2490

32 files changed