V2EX  ›  英汉词典

STL

Definition / 释义

STL:常指 C++ 的 Standard Template Library(标准模板库),是一组用于泛型编程的核心组件集合,包含常用容器(如 vectormap)、算法(如排序、查找)和迭代器等。(也可能指其他含义,如 stereolithography “立体光刻”,但最常见于编程语境。)

Pronunciation / 发音

/ˌɛs tiː ˈɛl/

Examples / 例句

I learned STL to write cleaner C++ code.
我学习了 STL 来写更简洁的 C++ 代码。

Using STL algorithms, she optimized the program without rewriting the data structures.
她使用 STL 的算法优化了程序,而不必重写数据结构。

Etymology / 词源

STL 是首字母缩略词,来自 Standard Template Library。该名称强调它是“标准的(Standard)”、以“模板(Template)”实现的“库(Library)”,用于支持 C++ 的泛型编程风格。

Related Words / 相关词

Literary Works / 文学与作品

  • The C++ Programming Language(Bjarne Stroustrup)
  • Effective STL(Scott Meyers)
  • C++ Primer(Stanley B. Lippman 等)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2852 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 53ms · UTC 01:14 · PVG 09:14 · LAX 18:14 · JFK 21:14
♥ Do have faith in what you're doing.