目前三大主流編譯器的最新版本:BCB 3.0、VC++ 6.0、gcc 2.8.x,
都有內附, 且比原始的 STL 更符合 ANSI C++ 規格。
因此, 現在似乎已無必要再去 download 個別的 STL 了。
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
≡ 何陋居 ≡ 練從難處練,用從易處用。
武 諺
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>
>目前三大主流編譯器的最新版本:BCB 3.0、VC++ 6.0、gcc 2.8.x,
>都有內附, 且比原始的 STL 更符合 ANSI C++ 規格。
>因此, 現在似乎已無必要再去 download 個別的 STL 了。
SGI 的 STL 除了 C++ Standard 定義的 class 之外, 還定義了
一些新的東西比如 Hashed associated container, Single
link list, rope 等, SGI STL 是由原先的 HP STL 繼續發展而來的,
我倒是覺得大家可以考慮改用 SGI STL.
SGI STL 的位址是 http://www.sgi.com/Technology/STL/
四眼的王蟲
>rope??
>這是container嗎? 我可沒聽過這東東? 這是甚麼?
下面是 SGI STL 的 document 對 rope 的描述:
"Ropes are a scalable string implementation: they are designed for
efficient operation that involve the string as a whole. Operations
such as assignment, concatenation, and substring take time that is
nearly independent of the length of the string. Unlike C strings,
ropes are a reasonable representation for very long strings such as
edit buffers or mail messages"
要知道的更詳細可看:
http://www.sgi.com/Technology/STL/Rope.html
四眼的王蟲