forked from boostorg/type_traits
Trivial fix for GCCXML, fixes: https://github.com/boostorg/type_traits/issues/69
This commit is contained in:
@ -206,9 +206,11 @@ private:
|
||||
|
||||
static bool cond();
|
||||
|
||||
BOOST_STATIC_CONSTANT(const int, selector = sizeof(select(cond() ? T() : U())));
|
||||
|
||||
public:
|
||||
|
||||
typedef typename arithmetic_type< sizeof(select( cond()? T(): U() )) >::type type;
|
||||
typedef typename arithmetic_type<selector>::type type;
|
||||
};
|
||||
|
||||
} // namespace type_traits_detail
|
||||
|
Reference in New Issue
Block a user