Re: [Boost-bugs] [Boost C++ Libraries] #6128: rolling_variance addition

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6128: rolling_variance addition
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-06 22:24:26


#6128: rolling_variance addition
------------------------------------------------+---------------------------
  Reporter: Pieter Ober <jaapaap@…> | Owner: eric_niebler
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: accumulator
   Version: Boost 1.47.0 | Severity: Not Applicable
Resolution: | Keywords:
------------------------------------------------+---------------------------

Comment (by david.bellot):

 in the constructor and in operator(), "args" is not used and sometimes,
 this generates warnings.
 One simple solution is to add a void statement like this (the famous
 UNUSED(x) macro):

 (void) args;

 in the unit test, it's ok without it but not in more complex code.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6128#comment:1>
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:09 UTC