
2 Apr
2012
2 Apr
'12
5:53 p.m.
Hi all, Isn't it C++11 supposed to allow to use typename freely even outside type-dependent context? Does MSVC10 support this? For example, is the following supposed to compile on MSVC10? #include <boost/mpl/identity.hpp> int main() { typedef typename boost::mpl::identity<int>::type t; t i = 0; return i; } Note: Using typename freely will allow me to not introduce SCOPE_EXIT_ALL_TPL and still support this_ (not just this). Thanks. --Lorenzo -- View this message in context: http://boost.2283326.n4.nabble.com/boost-scope-exit-C-11-freely-uses-typenam... Sent from the Boost - Dev mailing list archive at Nabble.com.