Ticket #9481: fix_comment_typo.patch

File fix_comment_typo.patch, 5.6 KB (added by oss.2012.team+2013E@…, 9 years ago)

Comment typo fixes for list.hpp and slist.hpp

  • boost/container/slist.hpp

     
    13061306
    13071307   //! <b>Requires</b>: p must be a valid iterator of *this.
    13081308   //!
    1309    //! <b>Effects</b>: Erases the element at p p.
     1309   //! <b>Effects</b>: Erases the element at p.
    13101310   //!
    13111311   //! <b>Throws</b>: Nothing.
    13121312   //!
     
    13601360   //!   this' allocator and x's allocator shall compare equal
    13611361   //!
    13621362   //! <b>Effects</b>: Transfers the value pointed by i, from list x to this list,
    1363    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1363   //!   before the element pointed by p. No destructors or copy constructors are called.
    13641364   //!   If p == i or p == ++i, this function is a null operation.
    13651365   //!
    13661366   //! <b>Throws</b>: Nothing
     
    13771377   //!   this' allocator and x's allocator shall compare equal.
    13781378   //!
    13791379   //! <b>Effects</b>: Transfers the value pointed by i, from list x to this list,
    1380    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1380   //!   before the element pointed by p. No destructors or copy constructors are called.
    13811381   //!   If p == i or p == ++i, this function is a null operation.
    13821382   //!
    13831383   //! <b>Throws</b>: Nothing
     
    13931393   //!   by this list. first and last must point to elements contained in list x.
    13941394   //!
    13951395   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    1396    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1396   //!   before the element pointed by p. No destructors or copy constructors are called.
    13971397   //!   this' allocator and x's allocator shall compare equal.
    13981398   //!
    13991399   //! <b>Throws</b>: Nothing
     
    14111411   //!   this' allocator and x's allocator shall compare equal
    14121412   //!
    14131413   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    1414    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1414   //!   before the element pointed by p. No destructors or copy constructors are called.
    14151415   //!
    14161416   //! <b>Throws</b>: Nothing
    14171417   //!
  • boost/container/list.hpp

     
    370370      return this->assign(cvalue_iterator(val, n), cvalue_iterator());
    371371   }
    372372
    373    //! <b>Effects</b>: Assigns the the range [first, last) to *this.
     373   //! <b>Effects</b>: Assigns the range [first, last) to *this.
    374374   //!
    375375   //! <b>Throws</b>: If memory allocation throws or
    376376   //!   T's constructor from dereferencing InpIt throws.
     
    867867
    868868   //! <b>Requires</b>: p must be a valid iterator of *this.
    869869   //!
    870    //! <b>Effects</b>: Erases the element at p p.
     870   //! <b>Effects</b>: Erases the element at p.
    871871   //!
    872872   //! <b>Throws</b>: Nothing.
    873873   //!
     
    946946   //!   this' allocator and x's allocator shall compare equal
    947947   //!
    948948   //! <b>Effects</b>: Transfers the value pointed by i, from list x to this list,
    949    //!   before the the element pointed by p. No destructors or copy constructors are called.
     949   //!   before the element pointed by p. No destructors or copy constructors are called.
    950950   //!   If p == i or p == ++i, this function is a null operation.
    951951   //!
    952952   //! <b>Throws</b>: Nothing
     
    967967   //!   this' allocator and x's allocator shall compare equal.
    968968   //!
    969969   //! <b>Effects</b>: Transfers the value pointed by i, from list x to this list,
    970    //!   before the the element pointed by p. No destructors or copy constructors are called.
     970   //!   before the element pointed by p. No destructors or copy constructors are called.
    971971   //!   If p == i or p == ++i, this function is a null operation.
    972972   //!
    973973   //! <b>Throws</b>: Nothing
     
    984984   //!   this' allocator and x's allocator shall compare equal
    985985   //!
    986986   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    987    //!   before the the element pointed by p. No destructors or copy constructors are called.
     987   //!   before the element pointed by p. No destructors or copy constructors are called.
    988988   //!
    989989   //! <b>Throws</b>: Nothing
    990990   //!
     
    10031003   //!   this' allocator and x's allocator shall compare equal.
    10041004   //!
    10051005   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    1006    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1006   //!   before the element pointed by p. No destructors or copy constructors are called.
    10071007   //!
    10081008   //! <b>Throws</b>: Nothing
    10091009   //!
     
    10191019   //!   n == std::distance(first, last). this' allocator and x's allocator shall compare equal
    10201020   //!
    10211021   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    1022    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1022   //!   before the element pointed by p. No destructors or copy constructors are called.
    10231023   //!
    10241024   //! <b>Throws</b>:  Nothing
    10251025   //!
     
    10401040   //!   n == std::distance(first, last). this' allocator and x's allocator shall compare equal
    10411041   //!
    10421042   //! <b>Effects</b>: Transfers the range pointed by first and last from list x to this list,
    1043    //!   before the the element pointed by p. No destructors or copy constructors are called.
     1043   //!   before the element pointed by p. No destructors or copy constructors are called.
    10441044   //!
    10451045   //! <b>Throws</b>: Nothing
    10461046   //!