Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3206: compiler warnings in VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-03 21:46:53
#3206: compiler warnings in VC9
---------------------------------+------------------------------------------
Reporter: kfriddile@⦠| Owner: hljin
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: GIL
Version: Boost 1.39.0 | Severity: Problem
Keywords: |
---------------------------------+------------------------------------------
Comment(by mloskot <mateusz@â¦>):
I think it's preferred to solve this kind of issues using
[source:trunk/boost/concept_check.hpp_at_48821#L45
boost::ignore_unused_variable_warning] sink:
{{{
#include <boost/concept_check.hpp>
void destruct_range_impl(It first, It last, mpl::false_)
{
boost::ignore_unused_variable_warning(first);
boost::ignore_unused_variable_warning(last);
}
}}}
It's also more self-documenting about explicit author's intentions.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3206#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC