I have some C++11 code using the auto inferred type that I have to convert to C++98. How would I go about converting the code, substituting in the actual type f
auto
You can try to use the BOOST_AUTO macro in the Boost typeof library.
BOOST_AUTO
auto x = 5 + 7;
becomes
BOOST_AUTO(x,5+7);