![]() |
Home | Libraries | People | FAQ | More |
Copyright c 2005 Olaf Krzikalla, 2006-2007 Ion Gaztanaga
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)
Table of Contents 目錄
Boost.Intrusive
is a library presenting some intrusive containers to the world of C++.
Intrusive containers are special containers that offer better performance and
exception safety guarantees than non-intrusive containers (like STL
containers).
Boost.Intrusive
是一個將介入式容器引入到C++世界的庫。介入式容器是一種特殊的容器,它提供比非介入式容器(如STL容器) 更好的性能 和異常安全保證。
The performance benefits of intrusive containers makes them
ideal as a building block to efficiently construct complex containers
like multi-index containers or to design high performance code like
memory allocation algorithms.
介入式容器的性能優點使得它們成為一種構建塊,用以高效地構造複雜容器,如多索引容器,或者用以設計高性能代碼,如內存分配算法。
While intrusive containers were and are widely used in C,
they became more and more forgotten in C++ due to the presence of the
standard containers which don't support intrusive techniques.Boost.Intrusive
not only reintroduces this technique to C++, but also encapsulates the
implementation in STL-like interfaces. Hence anyone familiar with
standard containers can easily use Boost.Intrusive.
雖然介入式容器在C中被廣泛使用,但是在C++中卻被日漸遺忘,這是由於不支持介入式技術的標準容器的出現。Boost.Intrusive
不僅重新將這一技術引入到C++,而且還將實現封裝為類似於STL的接口。所以每一個熟悉標準容器的人都可以很容易地使用 Boost.Intrusive。
There is no need to compile anything to use Boost.Intrusive,
since it's a header only library. Just include your Boost header
directory in your compiler include path.
使用 Boost.Intrusive 不需要編譯任何東西,因為它是一個僅有頭文件的庫。只需要將你的 Boost 頭文件目錄包含在你的編譯器包含路徑中就可以了。
Last revised: November 02, 2008 at 13:06:44 GMT |