[Boost-bugs] [Boost C++ Libraries] #4555: Warning : Non-static reference in class without a constructor

Subject: [Boost-bugs] [Boost C++ Libraries] #4555: Warning : Non-static reference in class without a constructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-17 19:05:16


#4555: Warning : Non-static reference in class without a constructor
-------------------------------------+--------------------------------------
 Reporter: er.ci.2020@… | Owner: neilgroves
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost Development Trunk | Severity: Problem
 Keywords: Concept |
-------------------------------------+--------------------------------------
 These are annoying warnings :

 /usr/local/trunk/boost/range/concepts.hpp|209|warning: non-static
 reference 'std::vector<int, std::allocator<int> >&
 boost::SinglePassRangeConcept<std::vector<int, std::allocator<int> >
>::m_range' in class without a constructor|


 Perhaps adding a constructor to each concept class that contains a
 reference would solve the problem?

 Mac OSX 10.6.4 -- GCC 4.4.1

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4555>
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:04 UTC