1 // Copyright (C) 2006 Arkadiy Vertleyb 2 // Use, modification and distribution is subject to the Boost Software 3 // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) 4 5 // boostinspect:nounnamed 6 7 #include <boost/typeof/typeof.hpp> 8 9 struct foo 10 { 11 typedef BOOST_TYPEOF(1 + 2.5) type; 12 }; 13 14 namespace 15 { 16 typedef foo::type type; 17 } 18