G
GH
Hi all, is there a way to statically reference the return type of a
function or expression? To make myself clear, take the iomanip
std::setw for example. The standard explicitly leaves the return type
of std::setw implementation dependent. Suppose I want to know and
reference the type of std::setw(8) (e g create a variable of that
type), is there anyway to reference that type without going to the
headers and using the implementation dependent type such as std::_Setw
in g++?
function or expression? To make myself clear, take the iomanip
std::setw for example. The standard explicitly leaves the return type
of std::setw implementation dependent. Suppose I want to know and
reference the type of std::setw(8) (e g create a variable of that
type), is there anyway to reference that type without going to the
headers and using the implementation dependent type such as std::_Setw
in g++?