sequences.rst
来自「C++的一个好库。。。现在很流行」· RST 代码 · 共 19 行
RST
19 行
Compile-time sequences of types are one of the basic concepts of C++
template metaprogramming. Differences in types of objects being
manipulated is the most common point of variability of similar, but
not identical designs, and these are a direct target for
metaprogramming. Templates were originally designed to address this
exact problem. However, without predefined mechanisms for
representing and manipulating *sequences* of types as opposed to
standalone template parameters, high-level template metaprogramming
is severely limited in its capabitilies.
The MPL recognizes the importance of type sequences as a fundamental
building block of many higher-level metaprogramming designs by
providing us with a conceptual framework for formal reasoning
and understanding of sequence properties, guarantees and
characteristics, as well as a first-class implementation of that
framework |--| a wealth of tools for concise, convenient,
conceptually precise and efficient sequence manipulation.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?