comparison DEPENDENCIES/generic/include/boost/integer_traits.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
3 * Copyright Jens Maurer 2000 3 * Copyright Jens Maurer 2000
4 * Distributed under the Boost Software License, Version 1.0. (See 4 * Distributed under the Boost Software License, Version 1.0. (See
5 * accompanying file LICENSE_1_0.txt or copy at 5 * accompanying file LICENSE_1_0.txt or copy at
6 * http://www.boost.org/LICENSE_1_0.txt) 6 * http://www.boost.org/LICENSE_1_0.txt)
7 * 7 *
8 * $Id: integer_traits.hpp 85813 2013-09-21 20:17:00Z jewillco $ 8 * $Id$
9 * 9 *
10 * Idea by Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers 10 * Idea by Beman Dawes, Ed Brey, Steve Cleary, and Nathan Myers
11 */ 11 */
12 12
13 // See http://www.boost.org/libs/integer for documentation. 13 // See http://www.boost.org/libs/integer for documentation.
117 // - SGI MIPSpro with native library 117 // - SGI MIPSpro with native library
118 // - gcc 3.x on HP-UX 118 // - gcc 3.x on HP-UX
119 // - Mac OS X with native library 119 // - Mac OS X with native library
120 // - gcc on FreeBSD, OpenBSD and NetBSD 120 // - gcc on FreeBSD, OpenBSD and NetBSD
121 public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX> 121 public detail::integer_traits_base<wchar_t, INT_MIN, INT_MAX>
122 #elif defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 2) && !defined(__SGI_STL_PORT)
123 // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as unsigned int.
124 // - gcc 2.95.x on HP-UX
125 // (also, std::numeric_limits<wchar_t> appears to return the wrong values).
126 public detail::integer_traits_base<wchar_t, 0, UINT_MAX>
127 #else 122 #else
128 #error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler. 123 #error No WCHAR_MIN and WCHAR_MAX present, please adjust integer_traits<> for your compiler.
129 #endif 124 #endif
130 { }; 125 { };
131 #endif // BOOST_NO_INTRINSIC_WCHAR_T 126 #endif // BOOST_NO_INTRINSIC_WCHAR_T