Otherwise this function causes linking errors when used on Windows.
.to<double>()
.template to<double>()
.value()