Ticket #9367: algorithm_typo_fix.patch

File algorithm_typo_fix.patch, 1.3 KB (added by oss.2012.team+2013C@…, 9 years ago)

Typo fix for Boost.Algorithm

  • libs/algorithm/doc/equal.qbk

     
    4949``
    5050equal ( c1.begin (),     c1.end (),       c2.begin (), c2.end ()) --> false
    5151equal ( c1.begin () + 1, c1.begin () + 3, c2.begin (), c2.end ()) --> true
    52 equal ( c1.end (),       c1.end (),       c2.end (),   c2.end ()) --> true  // empty sequences are alway equal to each other
     52equal ( c1.end (),       c1.end (),       c2.end (),   c2.end ()) --> true  // empty sequences are always equal to each other
    5353``
    5454
    5555[heading Iterator Requirements]
  • libs/algorithm/doc/ordered-hpp.qbk

     
    4545``
    4646namespace boost { namespace algorithm {
    4747        template <typename ForwardIterator, typename Pred>
    48         FI is_sorted_until ( ForwardIterator first, ForwardIterator last, Pred p );
     48        ForwardIterator is_sorted_until ( ForwardIterator first, ForwardIterator last, Pred p );
    4949       
    5050        template <typename ForwardIterator>
    5151        ForwardIterator is_sorted_until ( ForwardIterator first, ForwardIterator last );