]> git.pld-linux.org Git - packages/boost.git/blame - boost-1.54.0-mpl-print.patch
up to 1.82.0
[packages/boost.git] / boost-1.54.0-mpl-print.patch
CommitLineData
647f39b2
AM
1Index: boost/mpl/print.hpp
2===================================================================
3--- boost/mpl/print.hpp (revision 83411)
4+++ boost/mpl/print.hpp (working copy)
d20b153a 5@@ -44,7 +44,7 @@
647f39b2
AM
6 : mpl::identity<T>
7 #if defined(__MWERKS__)
8 , aux::print_base
9-#endif
10+#endif
11 {
d20b153a 12 #if defined(__clang__)
ffdbc5e9 13 # pragma clang diagnostic push
d20b153a 14@@ -52,15 +52,14 @@
647f39b2
AM
15 enum { n = sizeof(T) + -1 };
16 #elif defined(__MWERKS__)
17 void f(int);
d20b153a
JB
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
647f39b2
AM
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- };
647f39b2 33+ enum { n = sizeof(T) > -1 };
d20b153a 34 #endif
647f39b2
AM
35 };
36
This page took 0.24192 seconds and 4 git commands to generate.