Changeset 54642


Ignore:
Timestamp:
Jul 4, 2009, 12:12:03 PM (9 years ago)
Author:
Joachim Faulhaber
Message:

Fixed minor compiler flaws in itl_xt. Trying to compile itl_xt with gcc-4.1.0. The version does not compile meta programming code of LaBatea?. There are ambiguities in matching partial template instantiations that msvc can resolve.

Location:
sandbox/itl/boost/validate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/itl/boost/validate/gentor/rangegentor.hpp

    r51437 r54642  
    4949
    5050        void setLowerBoundRange(int lwb, int upb)
    51         { setLowerBoundRange(rightopen_interval(lwb,upb)); }
     51        { setLowerBoundRange(interval<int>::rightopen(lwb,upb)); }
    5252        void setLowerBoundRange(const interval<int>& range)
    5353        { BOOST_ASSERT(range.is_rightopen()||range.is_closed()); _lwbGentor.setRange(range); }
    5454
    5555        void setUpperBoundRange(int lwb, int upb)
    56         { setUpperBoundRange(rightopen_interval(lwb,upb)); }
     56        { setUpperBoundRange(interval<int>::rightopen(lwb,upb)); }
    5757        void setUpperBoundRange(const interval<int>& range)
    5858        { BOOST_ASSERT(range.is_rightopen()||range.is_closed()); _upbGentor.setRange(range); }
  • sandbox/itl/boost/validate/loki_xt/Tuple.h

    r51437 r54642  
    4646#include <boost/validate/loki_xt/TypelistGentor.h>
    4747
     48#include <boost/itl/type_traits/to_string.hpp>
    4849
    4950namespace Loki
     
    741742            static std::string Do(const TupleT& obj)
    742743            {
    743                 return to_string<HeadType>::apply(get<0>(obj));
     744                return boost::itl::to_string<HeadType>::apply(get<0>(obj));
    744745            }
    745746        };
     
    753754            static std::string Do(const TupleT& obj)
    754755            {
    755                 return to_string<HeadType>::apply(get<0>(obj))
     756                return boost::itl::to_string<HeadType>::apply(get<0>(obj))
    756757                       + ", " + Stringer<TailClass, i-1>::Do(obj);
    757758            }
     
    833834            static std::string apply(const SourceT& src)
    834835            {
    835                 return itl::to_string<SourceT>::apply(src);
     836                return boost::itl::to_string<SourceT>::apply(src);
    836837            }
    837838        };
Note: See TracChangeset for help on using the changeset viewer.