3 template <bool val> struct bool_var {
4 static const bool value = val;
8 template <class T> any(T const&);
10 int operator++(any const&);
11 template <class T> struct impl {
13 static const bool value = sizeof(++x) == 1;
16 template<typename T> struct is_incr : bool_var< is_inc_::impl<T>::value> {};
18 typedef int sa1[ is_incr<not_incr>::value ? -1 : 1];