]> git.pld-linux.org Git - packages/boost.git/blob - boost-1.54.0-mpl-print.patch
up to 1.82.0
[packages/boost.git] / boost-1.54.0-mpl-print.patch
1 Index: boost/mpl/print.hpp
2 ===================================================================
3 --- boost/mpl/print.hpp (revision 83411)
4 +++ boost/mpl/print.hpp (working copy)
5 @@ -44,7 +44,7 @@
6      : mpl::identity<T>
7  #if defined(__MWERKS__)
8      , aux::print_base
9 -#endif 
10 +#endif
11  {
12  #if defined(__clang__)
13      const int m_x = 1 / (sizeof(T) - sizeof(T));
14 @@ -52,15 +52,14 @@
15      enum { n = sizeof(T) + -1 };
16  #elif defined(__MWERKS__)
17      void f(int);
18 +#elif defined(__EDG_VERSION__)
19 +    enum { n = aux::dependent_unsigned<T>::value > -1 };
20 +#elif defined(BOOST_GCC)
21 +    enum { n1 };
22 +    enum { n2 };
23 +    enum { n = n1 != n2 };
24  #else 
25 -    enum {
26 -        n =
27 -# if defined(__EDG_VERSION__)
28 -           aux::dependent_unsigned<T>::value > -1
29 -# else 
30 -           sizeof(T) > -1
31 -# endif 
32 -        };
33 +    enum { n = sizeof(T) > -1 };
34  #endif 
35  };
36  
This page took 0.065806 seconds and 3 git commands to generate.