1 /////////////////////////////////////////////////////////////////////////////// 2 // ignore_unused.hpp 3 // 4 // Copyright 2008 Eric Niebler. Distributed under the Boost 5 // Software License, Version 1.0. (See accompanying file 6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 8 #ifndef BOOST_XPRESSIVE_DETAIL_UTILITY_IGNORE_UNUSED_HPP_EAN_10_04_2005 9 #define BOOST_XPRESSIVE_DETAIL_UTILITY_IGNORE_UNUSED_HPP_EAN_10_04_2005 10 11 // MS compatible compilers support #pragma once 12 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 13 # pragma once 14 #endif 15 16 namespace boost { namespace xpressive { namespace detail 17 { 18 19 template<typename T> ignore_unused(T const &)20 void ignore_unused(T const &) 21 { 22 } 23 24 }}} 25 26 #endif 27 28