annotate DEPENDENCIES/generic/include/boost/proto/detail/ignore_unused.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 ///////////////////////////////////////////////////////////////////////////////
Chris@16 2 /// \file ignore_unused.hpp
Chris@16 3 /// Definintion of ignore_unused, a dummy function for suppressing compiler
Chris@16 4 /// warnings
Chris@16 5 //
Chris@16 6 // Copyright 2008 Eric Niebler. Distributed under the Boost
Chris@16 7 // Software License, Version 1.0. (See accompanying file
Chris@16 8 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 9
Chris@16 10 #ifndef BOOST_PROTO_DETAIL_IGNORE_UNUSED_HPP_EAN_03_03_2008
Chris@16 11 #define BOOST_PROTO_DETAIL_IGNORE_UNUSED_HPP_EAN_03_03_2008
Chris@16 12
Chris@16 13 #include <boost/config.hpp>
Chris@16 14
Chris@101 15 #if defined(_MSC_VER)
Chris@16 16 # pragma warning(push)
Chris@16 17 # pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined
Chris@16 18 #endif
Chris@16 19
Chris@16 20 namespace boost { namespace proto
Chris@16 21 {
Chris@16 22 namespace detail
Chris@16 23 {
Chris@16 24 template<typename T>
Chris@16 25 BOOST_FORCEINLINE void ignore_unused(T const &)
Chris@16 26 {}
Chris@16 27 }
Chris@16 28 }}
Chris@16 29
Chris@101 30 #if defined(_MSC_VER)
Chris@16 31 # pragma warning(pop)
Chris@16 32 #endif
Chris@16 33
Chris@16 34 #endif