sequences.rst

来自「Boost provides free peer-reviewed portab」· RST 代码 · 共 24 行

RST
24
字号
.. Copyright Aleksey Gurtovoy, David Abrahams 2007... 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)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 thisexact problem. However, without predefined mechanisms for representing and manipulating *sequences* of types as opposed to standalone template parameters, high-level template metaprogrammingis severely limited in its capabitilies.The MPL recognizes the importance of type sequences as a fundamentalbuilding block of many higher-level metaprogramming designs byproviding us with a conceptual framework for formal reasoning and understanding of sequence properties, guarantees and characteristics, as well as a first-class implementation of thatframework |--| a wealth of tools for concise, convenient,conceptually precise and efficient sequence manipulation.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?