Files
typeof/test/odr.hpp

18 lines
337 B
C++
Raw Permalink Normal View History

// Copyright (C) 2006 Arkadiy Vertleyb
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// boostinspect:nounnamed
2005-09-20 01:32:56 +00:00
#include <boost/typeof/typeof.hpp>
struct foo
{
typedef BOOST_TYPEOF(1 + 2.5) type;
};
namespace
{
typedef foo::type type;
2005-09-28 03:44:31 +00:00
}