Boost logo

Boost Users :

From: Michael Garriss (mdg_at_[hidden])
Date: 2005-04-26 11:03:01


this program:

#include <boost/algorithm/string.hpp>
#include <boost/range.hpp>

produces this error:

     In file included from
/home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range.hpp:20,

                  from range.cxx:2:
/home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range/iterator_range.hpp:79:
error: redefinition of `class boost::algorithm::iterator_range<IteratorT>'
/home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/algorithm/string/iterator_range.hpp:50:
error: previous definition of `class
boost::algorithm::iterator_range<IteratorT>'
/home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range/iterator_range.hpp:380:
error: `template<class IteratorT>
boost::algorithm::iterator_range<IteratorT>
boost::make_iterator_range(IteratorT, IteratorT)' conflicts with
previous using declaration `template<class IteratorT>
boost::algorithm::iterator_range<IteratorT>
boost::algorithm::make_iterator_range(IteratorT, IteratorT)'


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net