forked from boostorg/typeof
Fixed regression tests for CW-9.4
[SVN r33392]
This commit is contained in:
@ -82,7 +82,7 @@ namespace boost { namespace type_of {
|
||||
struct _typeof_encode_fraction {\
|
||||
BOOST_STATIC_CONSTANT(int,_typeof_encode_offset = (_Typeof_Iteration*BOOST_TYPEOF_LIMIT_SIZE));\
|
||||
typedef boost::type_of::offset_vector<BOOST_TYPEOF_VECTOR(0)<>,boost::mpl::size_t<_typeof_encode_offset> > _typeof_start_vector;\
|
||||
BOOST_PP_REPEAT(BOOST_TYPEOF_LIMIT_SIZE,BOOST_TYPEOF_NESTED_TYPEITEM,expr);\
|
||||
BOOST_PP_REPEAT(BOOST_TYPEOF_LIMIT_SIZE,BOOST_TYPEOF_NESTED_TYPEITEM,expr)\
|
||||
};\
|
||||
template<typename Pos>\
|
||||
struct _typeof_fraction_iter {\
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#include <boost/typeof/typeof.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
@ -15,7 +14,7 @@ struct {
|
||||
|
||||
template<typename T> struct wrap
|
||||
{
|
||||
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested,int_p[& do_int]);
|
||||
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested,int_p[& do_int])
|
||||
typedef typename nested::type type;
|
||||
};
|
||||
|
||||
@ -25,7 +24,7 @@ template<typename T> struct parser
|
||||
{
|
||||
struct __rule {
|
||||
static T & a_placeholder;
|
||||
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested,int_p[a_placeholder]);
|
||||
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested,int_p[a_placeholder])
|
||||
typedef typename nested::type type;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user