mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 14:34:44 +02:00
Documentation update
[SVN r76177]
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[/
|
[/
|
||||||
/ Copyright (c) 2007-2010 Ion Gaztanaga
|
/ Copyright (c) 2006-2011 Ion Gaztanaga
|
||||||
/
|
/
|
||||||
/ Distributed under the Boost Software License, Version 1.0. (See accompanying
|
/ Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
/ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
/ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
[library Boost.Intrusive
|
[library Boost.Intrusive
|
||||||
[quickbook 1.4]
|
[quickbook 1.4]
|
||||||
[authors [Krzikalla, Olaf], [Gaztanaga, Ion]]
|
[authors [Krzikalla, Olaf], [Gaztanaga, Ion]]
|
||||||
[copyright 2005 Olaf Krzikalla, 2006-2010 Ion Gaztanaga]
|
[copyright 2005 Olaf Krzikalla, 2006-2011 Ion Gaztanaga]
|
||||||
[id intrusive]
|
[id intrusive]
|
||||||
[dirname intrusive]
|
[dirname intrusive]
|
||||||
[purpose Intrusive containers]
|
[purpose Intrusive containers]
|
||||||
@@ -2313,13 +2313,13 @@ and [*Boost.Intrusive]:
|
|||||||
|
|
||||||
[section:smart_pointers_requirements Requirements for smart pointers compatible with Boost.Intrusive]
|
[section:smart_pointers_requirements Requirements for smart pointers compatible with Boost.Intrusive]
|
||||||
|
|
||||||
Not every smart pointer is compatible with [*Boost.Intrusive]; the smart pointer must
|
Not every smart pointer is compatible with [*Boost.Intrusive]:
|
||||||
have the following features:
|
|
||||||
|
|
||||||
* It must support the same operations as a raw pointer, except casting.
|
* It must be compatible with C++11 [@http://en.cppreference.com/w/cpp/memory/pointer_traits `std::pointer_traits`]
|
||||||
* It must be convertible to a raw pointer and constructible from a raw pointer.
|
requirements. [*Boost.Intrusive] uses its own [classref boost::intrusive::pointer_traits pointer_traits]
|
||||||
* It must have the same ownership semantics as a raw pointer. This means that
|
class to implement those features in both C++11 and C++03 compilers.
|
||||||
resource management smart pointers (like `boost::shared_ptr`) can't be used.
|
* It must have the same ownership semantics as a raw pointer. This means that
|
||||||
|
resource management smart pointers (like `boost::shared_ptr`) can't be used.
|
||||||
|
|
||||||
The conversion from the smart pointer to a raw pointer will be implemented as a recursive call to
|
The conversion from the smart pointer to a raw pointer will be implemented as a recursive call to
|
||||||
`operator->()` until the function returns a raw pointer.
|
`operator->()` until the function returns a raw pointer.
|
||||||
|
Reference in New Issue
Block a user