2 * Handles namespace resolution quirks in older compilers and braindead
3 * warnings [Herve, June 3rd 2003]
5 * Copyright 2002-2003 Hervé Brönnimann
7 * Distributed under the Boost Software License, Version 1.0.
8 * (See accompanying file LICENSE_1_0.txt or
9 * copy at http://www.boost.org/LICENSE_1_0.txt)
12 #include <boost/config.hpp>
14 // Borland compiler complains about unused variables a bit easily and
20 template <class T> inline void ignore_unused_variable_warning(const T&) { }
22 inline void ignore_warnings() {
23 # ifdef BOOST_NUMERIC_INTERVAL_CONSTANTS_HPP
24 using namespace boost::numeric::interval_lib::constants;
25 ignore_unused_variable_warning( pi_f_l );
26 ignore_unused_variable_warning( pi_f_u );
27 ignore_unused_variable_warning( pi_d_l );
28 ignore_unused_variable_warning( pi_d_u );
35 // Some compilers are broken with respect to name resolution
37 #if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) || defined( __BORLANDC__)
39 using namespace boost;
40 using namespace numeric;
41 using namespace interval_lib;