Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61758 - trunk/libs/range/test
From: dgregor_at_[hidden]
Date: 2010-05-04 11:26:10


Author: dgregor
Date: 2010-05-04 11:26:09 EDT (Tue, 04 May 2010)
New Revision: 61758
URL: http://svn.boost.org/trac/boost/changeset/61758

Log:
Const-qualified objects of class type require the class to have a
user-declared default constructor.

Text files modified:
   trunk/libs/range/test/extension_mechanism.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/range/test/extension_mechanism.cpp
==============================================================================
--- trunk/libs/range/test/extension_mechanism.cpp (original)
+++ trunk/libs/range/test/extension_mechanism.cpp 2010-05-04 11:26:09 EDT (Tue, 04 May 2010)
@@ -41,6 +41,8 @@
         //
         struct X
         {
+ X() : vec() { }
+
                 typedef std::vector<int> data_t;
                 typedef data_t::iterator iterator;
                 typedef data_t::const_iterator const_iterator;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk