Ticket #9520: fix_intrusive_typo.patch

File fix_intrusive_typo.patch, 10.3 KB (added by oss.2012.team+2013F@…, 9 years ago)

Fixing typos in Boost.Intrusive

  • boost/intrusive/list_hook.hpp

     
    7777//! \c auto_unlink or \c safe_link).
    7878//!
    7979//! \c void_pointer<> is the pointer type that will be used internally in the hook
    80 //! and the the container configured to use this hook.
     80//! and the container configured to use this hook.
    8181#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    8282template<class ...Options>
    8383#else
     
    199199//! \c auto_unlink or \c safe_link).
    200200//!
    201201//! \c void_pointer<> is the pointer type that will be used internally in the hook
    202 //! and the the container configured to use this hook.
     202//! and the container configured to use this hook.
    203203#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    204204template<class ...Options>
    205205#else
  • boost/intrusive/set_hook.hpp

     
    7676//! unique tag.
    7777//!
    7878//! \c void_pointer<> is the pointer type that will be used internally in the hook
    79 //! and the the container configured to use this hook.
     79//! and the container configured to use this hook.
    8080//!
    8181//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    8282//! \c auto_unlink or \c safe_link).
     
    203203//! \c link_mode<> and \c optimize_size<>.
    204204//!
    205205//! \c void_pointer<> is the pointer type that will be used internally in the hook
    206 //! and the the container configured to use this hook.
     206//! and the container configured to use this hook.
    207207//!
    208208//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    209209//! \c auto_unlink or \c safe_link).
  • boost/intrusive/list.hpp

     
    887887   //!   new_ele must point to an element contained in list x.
    888888   //!
    889889   //! <b>Effects</b>: Transfers the value pointed by new_ele, from list x to this list,
    890    //!   before the the element pointed by p. No destructors or copy constructors are called.
     890   //!   before the element pointed by p. No destructors or copy constructors are called.
    891891   //!   If p == new_ele or p == ++new_ele, this function is a null operation.
    892892   //!
    893893   //! <b>Throws</b>: Nothing.
     
    907907   //!   f and e must point to elements contained in list x.
    908908   //!
    909909   //! <b>Effects</b>: Transfers the range pointed by f and e from list x to this list,
    910    //!   before the the element pointed by p. No destructors or copy constructors are called.
     910   //!   before the element pointed by p. No destructors or copy constructors are called.
    911911   //!
    912912   //! <b>Throws</b>: Nothing.
    913913   //!
     
    929929   //!   n == std::distance(f, e)
    930930   //!
    931931   //! <b>Effects</b>: Transfers the range pointed by f and e from list x to this list,
    932    //!   before the the element pointed by p. No destructors or copy constructors are called.
     932   //!   before the element pointed by p. No destructors or copy constructors are called.
    933933   //!
    934934   //! <b>Throws</b>: Nothing.
    935935   //!
  • boost/intrusive/avl_set_hook.hpp

     
    7474//! unique tag.
    7575//!
    7676//! \c void_pointer<> is the pointer type that will be used internally in the hook
    77 //! and the the container configured to use this hook.
     77//! and the container configured to use this hook.
    7878//!
    7979//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    8080//! \c auto_unlink or \c safe_link).
     
    200200//! \c link_mode<> and \c optimize_size<>.
    201201//!
    202202//! \c void_pointer<> is the pointer type that will be used internally in the hook
    203 //! and the the container configured to use this hook.
     203//! and the container configured to use this hook.
    204204//!
    205205//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    206206//! \c auto_unlink or \c safe_link).
  • boost/intrusive/slist_hook.hpp

     
    8080//! \c auto_unlink or \c safe_link).
    8181//!
    8282//! \c void_pointer<> is the pointer type that will be used internally in the hook
    83 //! and the the container configured to use this hook.
     83//! and the container configured to use this hook.
    8484#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    8585template<class ...Options>
    8686#else
     
    203203//! \c auto_unlink or \c safe_link).
    204204//!
    205205//! \c void_pointer<> is the pointer type that will be used internally in the hook
    206 //! and the the container configured to use this hook.
     206//! and the container configured to use this hook.
    207207#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    208208template<class ...Options>
    209209#else
  • boost/intrusive/splay_set_hook.hpp

     
    6262//! unique tag.
    6363//!
    6464//! \c void_pointer<> is the pointer type that will be used internally in the hook
    65 //! and the the container configured to use this hook.
     65//! and the container configured to use this hook.
    6666//!
    6767//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    6868//! \c auto_unlink or \c safe_link).
     
    190190//! \c link_mode<> and \c optimize_size<>.
    191191//!
    192192//! \c void_pointer<> is the pointer type that will be used internally in the hook
    193 //! and the the container configured to use this hook.
     193//! and the container configured to use this hook.
    194194//!
    195195//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    196196//! \c auto_unlink or \c safe_link).
  • boost/intrusive/bs_set_hook.hpp

     
    7373//! unique tag.
    7474//!
    7575//! \c void_pointer<> is the pointer type that will be used internally in the hook
    76 //! and the the container configured to use this hook.
     76//! and the container configured to use this hook.
    7777//!
    7878//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    7979//! \c auto_unlink or \c safe_link).
     
    196196//! The hook admits the following options: \c void_pointer<>, \c link_mode<>.
    197197//!
    198198//! \c void_pointer<> is the pointer type that will be used internally in the hook
    199 //! and the the container configured to use this hook.
     199//! and the container configured to use this hook.
    200200//!
    201201//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    202202//! \c auto_unlink or \c safe_link).
  • boost/intrusive/any_hook.hpp

     
    7575//! \c link_mode<> will specify the linking mode of the hook (\c normal_link, \c safe_link).
    7676//!
    7777//! \c void_pointer<> is the pointer type that will be used internally in the hook
    78 //! and the the container configured to use this hook.
     78//! and the container configured to use this hook.
    7979#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    8080template<class ...Options>
    8181#else
     
    175175//! \c link_mode<> will specify the linking mode of the hook (\c normal_link or \c safe_link).
    176176//!
    177177//! \c void_pointer<> is the pointer type that will be used internally in the hook
    178 //! and the the container configured to use this hook.
     178//! and the container configured to use this hook.
    179179#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
    180180template<class ...Options>
    181181#else
  • boost/intrusive/unordered_set_hook.hpp

     
    207207//! unique tag.
    208208//!
    209209//! \c void_pointer<> is the pointer type that will be used internally in the hook
    210 //! and the the container configured to use this hook.
     210//! and the container configured to use this hook.
    211211//!
    212212//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    213213//! \c auto_unlink or \c safe_link).
     
    341341//! \c link_mode<> and \c store_hash<>.
    342342//!
    343343//! \c void_pointer<> is the pointer type that will be used internally in the hook
    344 //! and the the container configured to use this hook.
     344//! and the container configured to use this hook.
    345345//!
    346346//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
    347347//! \c auto_unlink or \c safe_link).
  • libs/intrusive/doc/intrusive.qbk

     
    875875   last element of the singly linked list. This allows `O(1)` swap,
    876876   `splice_after(iterator, slist &)` and makes the list offer new functions
    877877   like `push_back(reference)` and `back()`. Logically, the size an empty list is
    878    increased in `sizeof(void_pointer)` and the the cached last node pointer must
     878   increased in `sizeof(void_pointer)` and the cached last node pointer must
    879879   be updated in every operation, and that might incur in a slight performance impact.
    880880
    881881`auto_unlink` hooks are not usable if `linear<true>` and/or `cache_last<true>` options are
     
    35823582`func_ptr_adaptor` is just a functor adaptor to convert function objects taking
    35833583`test_list` objects to function objects taking pointers to them.
    35843584
    3585 You can find the full test code code in the
     3585You can find the full test code in the
    35863586[@../../libs/intrusive/perf/perf_list.cpp perf_list.cpp] source file.
    35873587
    35883588[section:performance_results_push_back Back insertion and destruction]