1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,106 @@ |
1 |
+//----------------------------------------------------------------------------- |
|
2 |
+// boost blank.hpp header file |
|
3 |
+// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
+//----------------------------------------------------------------------------- |
|
5 |
+// |
|
6 |
+// Copyright (c) 2003 |
|
7 |
+// Eric Friedman |
|
8 |
+// |
|
9 |
+// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
+// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
+// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
+ |
|
13 |
+#ifndef BOOST_BLANK_HPP |
|
14 |
+#define BOOST_BLANK_HPP |
|
15 |
+ |
|
16 |
+#include "boost/blank_fwd.hpp" |
|
17 |
+ |
|
18 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
+#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
+#include "boost/detail/templated_streams.hpp" |
|
21 |
+#endif // BOOST_NO_IOSTREAM |
|
22 |
+ |
|
23 |
+#include "boost/type_traits/integral_constant.hpp" |
|
24 |
+#include "boost/type_traits/is_empty.hpp" |
|
25 |
+#include "boost/type_traits/is_pod.hpp" |
|
26 |
+#include "boost/type_traits/is_stateless.hpp" |
|
27 |
+ |
|
28 |
+namespace boost { |
|
29 |
+ |
|
30 |
+struct blank |
|
31 |
+{ |
|
32 |
+}; |
|
33 |
+ |
|
34 |
+// type traits specializations |
|
35 |
+// |
|
36 |
+ |
|
37 |
+template <> |
|
38 |
+struct is_pod< blank > |
|
39 |
+ : boost::true_type |
|
40 |
+{ |
|
41 |
+}; |
|
42 |
+ |
|
43 |
+template <> |
|
44 |
+struct is_empty< blank > |
|
45 |
+ : boost::true_type |
|
46 |
+{ |
|
47 |
+}; |
|
48 |
+ |
|
49 |
+template <> |
|
50 |
+struct is_stateless< blank > |
|
51 |
+ : boost::true_type |
|
52 |
+{ |
|
53 |
+}; |
|
54 |
+ |
|
55 |
+// relational operators |
|
56 |
+// |
|
57 |
+ |
|
58 |
+inline bool operator==(const blank&, const blank&) |
|
59 |
+{ |
|
60 |
+ return true; |
|
61 |
+} |
|
62 |
+ |
|
63 |
+inline bool operator<=(const blank&, const blank&) |
|
64 |
+{ |
|
65 |
+ return true; |
|
66 |
+} |
|
67 |
+ |
|
68 |
+inline bool operator>=(const blank&, const blank&) |
|
69 |
+{ |
|
70 |
+ return true; |
|
71 |
+} |
|
72 |
+ |
|
73 |
+inline bool operator!=(const blank&, const blank&) |
|
74 |
+{ |
|
75 |
+ return false; |
|
76 |
+} |
|
77 |
+ |
|
78 |
+inline bool operator<(const blank&, const blank&) |
|
79 |
+{ |
|
80 |
+ return false; |
|
81 |
+} |
|
82 |
+ |
|
83 |
+inline bool operator>(const blank&, const blank&) |
|
84 |
+{ |
|
85 |
+ return false; |
|
86 |
+} |
|
87 |
+ |
|
88 |
+// streaming support |
|
89 |
+// |
|
90 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
+ |
|
92 |
+BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
+inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
+ BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
+ , const blank& |
|
96 |
+ ) |
|
97 |
+{ |
|
98 |
+ // (output nothing) |
|
99 |
+ return out; |
|
100 |
+} |
|
101 |
+ |
|
102 |
+#endif // BOOST_NO_IOSTREAM |
|
103 |
+ |
|
104 |
+} // namespace boost |
|
105 |
+ |
|
106 |
+#endif // BOOST_BLANK_HPP |
From: Steffen Neumann <sneumann@ipb-halle.de>
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125184 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,106 +0,0 @@ |
1 |
-//----------------------------------------------------------------------------- |
|
2 |
-// boost blank.hpp header file |
|
3 |
-// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
-//----------------------------------------------------------------------------- |
|
5 |
-// |
|
6 |
-// Copyright (c) 2003 |
|
7 |
-// Eric Friedman |
|
8 |
-// |
|
9 |
-// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
-// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
-// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
- |
|
13 |
-#ifndef BOOST_BLANK_HPP |
|
14 |
-#define BOOST_BLANK_HPP |
|
15 |
- |
|
16 |
-#include "boost/blank_fwd.hpp" |
|
17 |
- |
|
18 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
-#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
-#include "boost/detail/templated_streams.hpp" |
|
21 |
-#endif // BOOST_NO_IOSTREAM |
|
22 |
- |
|
23 |
-#include "boost/mpl/bool.hpp" |
|
24 |
-#include "boost/type_traits/is_empty.hpp" |
|
25 |
-#include "boost/type_traits/is_pod.hpp" |
|
26 |
-#include "boost/type_traits/is_stateless.hpp" |
|
27 |
- |
|
28 |
-namespace boost { |
|
29 |
- |
|
30 |
-struct blank |
|
31 |
-{ |
|
32 |
-}; |
|
33 |
- |
|
34 |
-// type traits specializations |
|
35 |
-// |
|
36 |
- |
|
37 |
-template <> |
|
38 |
-struct is_pod< blank > |
|
39 |
- : mpl::true_ |
|
40 |
-{ |
|
41 |
-}; |
|
42 |
- |
|
43 |
-template <> |
|
44 |
-struct is_empty< blank > |
|
45 |
- : mpl::true_ |
|
46 |
-{ |
|
47 |
-}; |
|
48 |
- |
|
49 |
-template <> |
|
50 |
-struct is_stateless< blank > |
|
51 |
- : mpl::true_ |
|
52 |
-{ |
|
53 |
-}; |
|
54 |
- |
|
55 |
-// relational operators |
|
56 |
-// |
|
57 |
- |
|
58 |
-inline bool operator==(const blank&, const blank&) |
|
59 |
-{ |
|
60 |
- return true; |
|
61 |
-} |
|
62 |
- |
|
63 |
-inline bool operator<=(const blank&, const blank&) |
|
64 |
-{ |
|
65 |
- return true; |
|
66 |
-} |
|
67 |
- |
|
68 |
-inline bool operator>=(const blank&, const blank&) |
|
69 |
-{ |
|
70 |
- return true; |
|
71 |
-} |
|
72 |
- |
|
73 |
-inline bool operator!=(const blank&, const blank&) |
|
74 |
-{ |
|
75 |
- return false; |
|
76 |
-} |
|
77 |
- |
|
78 |
-inline bool operator<(const blank&, const blank&) |
|
79 |
-{ |
|
80 |
- return false; |
|
81 |
-} |
|
82 |
- |
|
83 |
-inline bool operator>(const blank&, const blank&) |
|
84 |
-{ |
|
85 |
- return false; |
|
86 |
-} |
|
87 |
- |
|
88 |
-// streaming support |
|
89 |
-// |
|
90 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
- |
|
92 |
-BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
-inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
- BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
- , const blank& |
|
96 |
- ) |
|
97 |
-{ |
|
98 |
- // (output nothing) |
|
99 |
- return out; |
|
100 |
-} |
|
101 |
- |
|
102 |
-#endif // BOOST_NO_IOSTREAM |
|
103 |
- |
|
104 |
-} // namespace boost |
|
105 |
- |
|
106 |
-#endif // BOOST_BLANK_HPP |
From: Laurent <lg390@cam.ac.uk>
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125180 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,106 +1,106 @@ |
1 |
-//----------------------------------------------------------------------------- |
|
2 |
-// boost blank.hpp header file |
|
3 |
-// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
-//----------------------------------------------------------------------------- |
|
5 |
-// |
|
6 |
-// Copyright (c) 2003 |
|
7 |
-// Eric Friedman |
|
8 |
-// |
|
9 |
-// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
-// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
-// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
- |
|
13 |
-#ifndef BOOST_BLANK_HPP |
|
14 |
-#define BOOST_BLANK_HPP |
|
15 |
- |
|
16 |
-#include "boost/blank_fwd.hpp" |
|
17 |
- |
|
18 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
-#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
-#include "boost/detail/templated_streams.hpp" |
|
21 |
-#endif // BOOST_NO_IOSTREAM |
|
22 |
- |
|
23 |
-#include "boost/mpl/bool.hpp" |
|
24 |
-#include "boost/type_traits/is_empty.hpp" |
|
25 |
-#include "boost/type_traits/is_pod.hpp" |
|
26 |
-#include "boost/type_traits/is_stateless.hpp" |
|
27 |
- |
|
28 |
-namespace boost { |
|
29 |
- |
|
30 |
-struct blank |
|
31 |
-{ |
|
32 |
-}; |
|
33 |
- |
|
34 |
-// type traits specializations |
|
35 |
-// |
|
36 |
- |
|
37 |
-template <> |
|
38 |
-struct is_pod< blank > |
|
39 |
- : mpl::true_ |
|
40 |
-{ |
|
41 |
-}; |
|
42 |
- |
|
43 |
-template <> |
|
44 |
-struct is_empty< blank > |
|
45 |
- : mpl::true_ |
|
46 |
-{ |
|
47 |
-}; |
|
48 |
- |
|
49 |
-template <> |
|
50 |
-struct is_stateless< blank > |
|
51 |
- : mpl::true_ |
|
52 |
-{ |
|
53 |
-}; |
|
54 |
- |
|
55 |
-// relational operators |
|
56 |
-// |
|
57 |
- |
|
58 |
-inline bool operator==(const blank&, const blank&) |
|
59 |
-{ |
|
60 |
- return true; |
|
61 |
-} |
|
62 |
- |
|
63 |
-inline bool operator<=(const blank&, const blank&) |
|
64 |
-{ |
|
65 |
- return true; |
|
66 |
-} |
|
67 |
- |
|
68 |
-inline bool operator>=(const blank&, const blank&) |
|
69 |
-{ |
|
70 |
- return true; |
|
71 |
-} |
|
72 |
- |
|
73 |
-inline bool operator!=(const blank&, const blank&) |
|
74 |
-{ |
|
75 |
- return false; |
|
76 |
-} |
|
77 |
- |
|
78 |
-inline bool operator<(const blank&, const blank&) |
|
79 |
-{ |
|
80 |
- return false; |
|
81 |
-} |
|
82 |
- |
|
83 |
-inline bool operator>(const blank&, const blank&) |
|
84 |
-{ |
|
85 |
- return false; |
|
86 |
-} |
|
87 |
- |
|
88 |
-// streaming support |
|
89 |
-// |
|
90 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
- |
|
92 |
-BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
-inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
- BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
- , const blank& |
|
96 |
- ) |
|
97 |
-{ |
|
98 |
- // (output nothing) |
|
99 |
- return out; |
|
100 |
-} |
|
101 |
- |
|
102 |
-#endif // BOOST_NO_IOSTREAM |
|
103 |
- |
|
104 |
-} // namespace boost |
|
105 |
- |
|
106 |
-#endif // BOOST_BLANK_HPP |
|
1 |
+//----------------------------------------------------------------------------- |
|
2 |
+// boost blank.hpp header file |
|
3 |
+// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
+//----------------------------------------------------------------------------- |
|
5 |
+// |
|
6 |
+// Copyright (c) 2003 |
|
7 |
+// Eric Friedman |
|
8 |
+// |
|
9 |
+// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
+// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
+// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
+ |
|
13 |
+#ifndef BOOST_BLANK_HPP |
|
14 |
+#define BOOST_BLANK_HPP |
|
15 |
+ |
|
16 |
+#include "boost/blank_fwd.hpp" |
|
17 |
+ |
|
18 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
+#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
+#include "boost/detail/templated_streams.hpp" |
|
21 |
+#endif // BOOST_NO_IOSTREAM |
|
22 |
+ |
|
23 |
+#include "boost/mpl/bool.hpp" |
|
24 |
+#include "boost/type_traits/is_empty.hpp" |
|
25 |
+#include "boost/type_traits/is_pod.hpp" |
|
26 |
+#include "boost/type_traits/is_stateless.hpp" |
|
27 |
+ |
|
28 |
+namespace boost { |
|
29 |
+ |
|
30 |
+struct blank |
|
31 |
+{ |
|
32 |
+}; |
|
33 |
+ |
|
34 |
+// type traits specializations |
|
35 |
+// |
|
36 |
+ |
|
37 |
+template <> |
|
38 |
+struct is_pod< blank > |
|
39 |
+ : mpl::true_ |
|
40 |
+{ |
|
41 |
+}; |
|
42 |
+ |
|
43 |
+template <> |
|
44 |
+struct is_empty< blank > |
|
45 |
+ : mpl::true_ |
|
46 |
+{ |
|
47 |
+}; |
|
48 |
+ |
|
49 |
+template <> |
|
50 |
+struct is_stateless< blank > |
|
51 |
+ : mpl::true_ |
|
52 |
+{ |
|
53 |
+}; |
|
54 |
+ |
|
55 |
+// relational operators |
|
56 |
+// |
|
57 |
+ |
|
58 |
+inline bool operator==(const blank&, const blank&) |
|
59 |
+{ |
|
60 |
+ return true; |
|
61 |
+} |
|
62 |
+ |
|
63 |
+inline bool operator<=(const blank&, const blank&) |
|
64 |
+{ |
|
65 |
+ return true; |
|
66 |
+} |
|
67 |
+ |
|
68 |
+inline bool operator>=(const blank&, const blank&) |
|
69 |
+{ |
|
70 |
+ return true; |
|
71 |
+} |
|
72 |
+ |
|
73 |
+inline bool operator!=(const blank&, const blank&) |
|
74 |
+{ |
|
75 |
+ return false; |
|
76 |
+} |
|
77 |
+ |
|
78 |
+inline bool operator<(const blank&, const blank&) |
|
79 |
+{ |
|
80 |
+ return false; |
|
81 |
+} |
|
82 |
+ |
|
83 |
+inline bool operator>(const blank&, const blank&) |
|
84 |
+{ |
|
85 |
+ return false; |
|
86 |
+} |
|
87 |
+ |
|
88 |
+// streaming support |
|
89 |
+// |
|
90 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
+ |
|
92 |
+BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
+inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
+ BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
+ , const blank& |
|
96 |
+ ) |
|
97 |
+{ |
|
98 |
+ // (output nothing) |
|
99 |
+ return out; |
|
100 |
+} |
|
101 |
+ |
|
102 |
+#endif // BOOST_NO_IOSTREAM |
|
103 |
+ |
|
104 |
+} // namespace boost |
|
105 |
+ |
|
106 |
+#endif // BOOST_BLANK_HPP |
Commit id: 0b3d4d9bb71e3ca5891b777610fc8dec103a6d61
Bumped version after KK's updates
Commit id: 9e04409b64757a177893d56c0300904f31945cb1
modified: src/pwiz/data/common/BinaryIndexStream.cpp modified: src/win/i386/libpwiz.a modified: src/win/x64/libpwiz.a
Commit id: f16b04258dc20bf3315beac99708e11728cfc12b
update precompiled lib for windows
Commit id: 5d56197f1148378d92e89b2d0a167e18c4b7ab2e
Bump version, tame .Rbuildignore
Commit id: 432da5bd294c9b87f7761e15bc814c3785c21abf
Merge remote-tracking branch 'origin/boost_159'
Commit id: 92be978bf72d90c2222a19ddf365f6d1acc9f20d
upadte Makevars
Commit id: ae75037a780cead56c4d20bedf822c94fb413677
upgrade to boost 1.5.9
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@110126 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,106 +1,106 @@ |
1 |
-//----------------------------------------------------------------------------- |
|
2 |
-// boost blank.hpp header file |
|
3 |
-// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
-//----------------------------------------------------------------------------- |
|
5 |
-// |
|
6 |
-// Copyright (c) 2003 |
|
7 |
-// Eric Friedman |
|
8 |
-// |
|
9 |
-// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
-// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
-// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
- |
|
13 |
-#ifndef BOOST_BLANK_HPP |
|
14 |
-#define BOOST_BLANK_HPP |
|
15 |
- |
|
16 |
-#include "boost/blank_fwd.hpp" |
|
17 |
- |
|
18 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
-#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
-#include "boost/detail/templated_streams.hpp" |
|
21 |
-#endif // BOOST_NO_IOSTREAM |
|
22 |
- |
|
23 |
-#include "boost/mpl/bool.hpp" |
|
24 |
-#include "boost/type_traits/is_empty.hpp" |
|
25 |
-#include "boost/type_traits/is_pod.hpp" |
|
26 |
-#include "boost/type_traits/is_stateless.hpp" |
|
27 |
- |
|
28 |
-namespace boost { |
|
29 |
- |
|
30 |
-struct blank |
|
31 |
-{ |
|
32 |
-}; |
|
33 |
- |
|
34 |
-// type traits specializations |
|
35 |
-// |
|
36 |
- |
|
37 |
-template <> |
|
38 |
-struct is_pod< blank > |
|
39 |
- : mpl::true_ |
|
40 |
-{ |
|
41 |
-}; |
|
42 |
- |
|
43 |
-template <> |
|
44 |
-struct is_empty< blank > |
|
45 |
- : mpl::true_ |
|
46 |
-{ |
|
47 |
-}; |
|
48 |
- |
|
49 |
-template <> |
|
50 |
-struct is_stateless< blank > |
|
51 |
- : mpl::true_ |
|
52 |
-{ |
|
53 |
-}; |
|
54 |
- |
|
55 |
-// relational operators |
|
56 |
-// |
|
57 |
- |
|
58 |
-inline bool operator==(const blank&, const blank&) |
|
59 |
-{ |
|
60 |
- return true; |
|
61 |
-} |
|
62 |
- |
|
63 |
-inline bool operator<=(const blank&, const blank&) |
|
64 |
-{ |
|
65 |
- return true; |
|
66 |
-} |
|
67 |
- |
|
68 |
-inline bool operator>=(const blank&, const blank&) |
|
69 |
-{ |
|
70 |
- return true; |
|
71 |
-} |
|
72 |
- |
|
73 |
-inline bool operator!=(const blank&, const blank&) |
|
74 |
-{ |
|
75 |
- return false; |
|
76 |
-} |
|
77 |
- |
|
78 |
-inline bool operator<(const blank&, const blank&) |
|
79 |
-{ |
|
80 |
- return false; |
|
81 |
-} |
|
82 |
- |
|
83 |
-inline bool operator>(const blank&, const blank&) |
|
84 |
-{ |
|
85 |
- return false; |
|
86 |
-} |
|
87 |
- |
|
88 |
-// streaming support |
|
89 |
-// |
|
90 |
-#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
- |
|
92 |
-BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
-inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
- BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
- , const blank& |
|
96 |
- ) |
|
97 |
-{ |
|
98 |
- // (output nothing) |
|
99 |
- return out; |
|
100 |
-} |
|
101 |
- |
|
102 |
-#endif // BOOST_NO_IOSTREAM |
|
103 |
- |
|
104 |
-} // namespace boost |
|
105 |
- |
|
106 |
-#endif // BOOST_BLANK_HPP |
|
1 |
+//----------------------------------------------------------------------------- |
|
2 |
+// boost blank.hpp header file |
|
3 |
+// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
+//----------------------------------------------------------------------------- |
|
5 |
+// |
|
6 |
+// Copyright (c) 2003 |
|
7 |
+// Eric Friedman |
|
8 |
+// |
|
9 |
+// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
+// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
+// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
+ |
|
13 |
+#ifndef BOOST_BLANK_HPP |
|
14 |
+#define BOOST_BLANK_HPP |
|
15 |
+ |
|
16 |
+#include "boost/blank_fwd.hpp" |
|
17 |
+ |
|
18 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
+#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
+#include "boost/detail/templated_streams.hpp" |
|
21 |
+#endif // BOOST_NO_IOSTREAM |
|
22 |
+ |
|
23 |
+#include "boost/mpl/bool.hpp" |
|
24 |
+#include "boost/type_traits/is_empty.hpp" |
|
25 |
+#include "boost/type_traits/is_pod.hpp" |
|
26 |
+#include "boost/type_traits/is_stateless.hpp" |
|
27 |
+ |
|
28 |
+namespace boost { |
|
29 |
+ |
|
30 |
+struct blank |
|
31 |
+{ |
|
32 |
+}; |
|
33 |
+ |
|
34 |
+// type traits specializations |
|
35 |
+// |
|
36 |
+ |
|
37 |
+template <> |
|
38 |
+struct is_pod< blank > |
|
39 |
+ : mpl::true_ |
|
40 |
+{ |
|
41 |
+}; |
|
42 |
+ |
|
43 |
+template <> |
|
44 |
+struct is_empty< blank > |
|
45 |
+ : mpl::true_ |
|
46 |
+{ |
|
47 |
+}; |
|
48 |
+ |
|
49 |
+template <> |
|
50 |
+struct is_stateless< blank > |
|
51 |
+ : mpl::true_ |
|
52 |
+{ |
|
53 |
+}; |
|
54 |
+ |
|
55 |
+// relational operators |
|
56 |
+// |
|
57 |
+ |
|
58 |
+inline bool operator==(const blank&, const blank&) |
|
59 |
+{ |
|
60 |
+ return true; |
|
61 |
+} |
|
62 |
+ |
|
63 |
+inline bool operator<=(const blank&, const blank&) |
|
64 |
+{ |
|
65 |
+ return true; |
|
66 |
+} |
|
67 |
+ |
|
68 |
+inline bool operator>=(const blank&, const blank&) |
|
69 |
+{ |
|
70 |
+ return true; |
|
71 |
+} |
|
72 |
+ |
|
73 |
+inline bool operator!=(const blank&, const blank&) |
|
74 |
+{ |
|
75 |
+ return false; |
|
76 |
+} |
|
77 |
+ |
|
78 |
+inline bool operator<(const blank&, const blank&) |
|
79 |
+{ |
|
80 |
+ return false; |
|
81 |
+} |
|
82 |
+ |
|
83 |
+inline bool operator>(const blank&, const blank&) |
|
84 |
+{ |
|
85 |
+ return false; |
|
86 |
+} |
|
87 |
+ |
|
88 |
+// streaming support |
|
89 |
+// |
|
90 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
+ |
|
92 |
+BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
+inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
+ BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
+ , const blank& |
|
96 |
+ ) |
|
97 |
+{ |
|
98 |
+ // (output nothing) |
|
99 |
+ return out; |
|
100 |
+} |
|
101 |
+ |
|
102 |
+#endif // BOOST_NO_IOSTREAM |
|
103 |
+ |
|
104 |
+} // namespace boost |
|
105 |
+ |
|
106 |
+#endif // BOOST_BLANK_HPP |
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@57456 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,106 @@ |
1 |
+//----------------------------------------------------------------------------- |
|
2 |
+// boost blank.hpp header file |
|
3 |
+// See http://www.boost.org for updates, documentation, and revision history. |
|
4 |
+//----------------------------------------------------------------------------- |
|
5 |
+// |
|
6 |
+// Copyright (c) 2003 |
|
7 |
+// Eric Friedman |
|
8 |
+// |
|
9 |
+// Distributed under the Boost Software License, Version 1.0. (See |
|
10 |
+// accompanying file LICENSE_1_0.txt or copy at |
|
11 |
+// http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
+ |
|
13 |
+#ifndef BOOST_BLANK_HPP |
|
14 |
+#define BOOST_BLANK_HPP |
|
15 |
+ |
|
16 |
+#include "boost/blank_fwd.hpp" |
|
17 |
+ |
|
18 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
19 |
+#include <iosfwd> // for std::basic_ostream forward declare |
|
20 |
+#include "boost/detail/templated_streams.hpp" |
|
21 |
+#endif // BOOST_NO_IOSTREAM |
|
22 |
+ |
|
23 |
+#include "boost/mpl/bool.hpp" |
|
24 |
+#include "boost/type_traits/is_empty.hpp" |
|
25 |
+#include "boost/type_traits/is_pod.hpp" |
|
26 |
+#include "boost/type_traits/is_stateless.hpp" |
|
27 |
+ |
|
28 |
+namespace boost { |
|
29 |
+ |
|
30 |
+struct blank |
|
31 |
+{ |
|
32 |
+}; |
|
33 |
+ |
|
34 |
+// type traits specializations |
|
35 |
+// |
|
36 |
+ |
|
37 |
+template <> |
|
38 |
+struct is_pod< blank > |
|
39 |
+ : mpl::true_ |
|
40 |
+{ |
|
41 |
+}; |
|
42 |
+ |
|
43 |
+template <> |
|
44 |
+struct is_empty< blank > |
|
45 |
+ : mpl::true_ |
|
46 |
+{ |
|
47 |
+}; |
|
48 |
+ |
|
49 |
+template <> |
|
50 |
+struct is_stateless< blank > |
|
51 |
+ : mpl::true_ |
|
52 |
+{ |
|
53 |
+}; |
|
54 |
+ |
|
55 |
+// relational operators |
|
56 |
+// |
|
57 |
+ |
|
58 |
+inline bool operator==(const blank&, const blank&) |
|
59 |
+{ |
|
60 |
+ return true; |
|
61 |
+} |
|
62 |
+ |
|
63 |
+inline bool operator<=(const blank&, const blank&) |
|
64 |
+{ |
|
65 |
+ return true; |
|
66 |
+} |
|
67 |
+ |
|
68 |
+inline bool operator>=(const blank&, const blank&) |
|
69 |
+{ |
|
70 |
+ return true; |
|
71 |
+} |
|
72 |
+ |
|
73 |
+inline bool operator!=(const blank&, const blank&) |
|
74 |
+{ |
|
75 |
+ return false; |
|
76 |
+} |
|
77 |
+ |
|
78 |
+inline bool operator<(const blank&, const blank&) |
|
79 |
+{ |
|
80 |
+ return false; |
|
81 |
+} |
|
82 |
+ |
|
83 |
+inline bool operator>(const blank&, const blank&) |
|
84 |
+{ |
|
85 |
+ return false; |
|
86 |
+} |
|
87 |
+ |
|
88 |
+// streaming support |
|
89 |
+// |
|
90 |
+#if !defined(BOOST_NO_IOSTREAM) |
|
91 |
+ |
|
92 |
+BOOST_TEMPLATED_STREAM_TEMPLATE(E,T) |
|
93 |
+inline BOOST_TEMPLATED_STREAM(ostream, E,T)& operator<<( |
|
94 |
+ BOOST_TEMPLATED_STREAM(ostream, E,T)& out |
|
95 |
+ , const blank& |
|
96 |
+ ) |
|
97 |
+{ |
|
98 |
+ // (output nothing) |
|
99 |
+ return out; |
|
100 |
+} |
|
101 |
+ |
|
102 |
+#endif // BOOST_NO_IOSTREAM |
|
103 |
+ |
|
104 |
+} // namespace boost |
|
105 |
+ |
|
106 |
+#endif // BOOST_BLANK_HPP |