1 /////////////////////////////////////////////////////////////////////////////// 2 /// \file ignore_unused.hpp 3 /// Definintion of ignore_unused, a dummy function for suppressing compiler 4 /// warnings 5 // 6 // Copyright 2008 Eric Niebler. Distributed under the Boost 7 // Software License, Version 1.0. (See accompanying file 8 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 9 10 #ifndef BOOST_PROTO_DETAIL_IGNORE_UNUSED_HPP_EAN_03_03_2008 11 #define BOOST_PROTO_DETAIL_IGNORE_UNUSED_HPP_EAN_03_03_2008 12 13 namespace boost { namespace proto 14 { 15 namespace detail 16 { 17 template<typename T> ignore_unused(T const &)18 inline void ignore_unused(T const &) 19 {} 20 } 21 }} 22 23 #endif 24