Ticket #8261: boost_1_55_0_lexical_cast.patch

File boost_1_55_0_lexical_cast.patch, 451 bytes (added by Troy Korjuslommi <troykor@…>, 9 years ago)

Patch is against boost_1_55_0 lexical_cast.hpp.

  • lexical_cast.hpp

    old new  
    25962596    }
    25972597#endif
    25982598
     2599
     2600    template <typename Target, typename T>
     2601    inline Target lexical_cast(const boost::iterator_range<T>& arg) {
     2602        return lexical_cast<Target>(&(*arg.begin()), arg.size());
     2603    }
     2604
     2605
    25992606} // namespace boost
    26002607
    26012608#else // #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION