1
0
forked from boostorg/mpl

MPL refmanul: fix copyrights, move all build files in the _build dir

[SVN r55621]
This commit is contained in:
Aleksey Gurtovoy
2009-08-17 10:27:13 +00:00
parent 5a2abc4d58
commit 0efce8938c
233 changed files with 1176 additions and 1167 deletions

View File

@@ -35,7 +35,7 @@ Building
4. Do ``python build.py``. It's going to take a couple of minutes to finish. 4. Do ``python build.py``. It's going to take a couple of minutes to finish.
5. If all goes well, the resulting HTML docs will be placed in 5. If all goes well, the resulting HTML docs will be placed in
``$BOOST_ROOT/libs/mpl/doc/src/refmanual/build/`` directory. ``$BOOST_ROOT/libs/mpl/doc/src/_build/`` directory.
.. _Python: http://python.org/ .. _Python: http://python.org/

View File

@@ -8,23 +8,28 @@ import shutil
import os import os
def build(): def build( src_dir, build_dir ):
src = os.path.join( build_dir, 'refmanual.gen' )
def cleanup(): def cleanup():
if os.path.exists( 'refmanual.gen' ): if os.path.exists( src ):
os.unlink( 'refmanual.gen' ) os.unlink( src )
if os.path.exists( 'build' ): if os.path.exists( build_dir ):
shutil.rmtree( 'build' ) shutil.rmtree( build_dir )
def generate_html(): def generate_html():
os.system( 'python refmanual.py' ) os.mkdir( build_dir )
os.mkdir( 'build' ) os.chdir( build_dir )
os.system( 'rst2htmlrefdoc.py -g -d -t --no-frames --dont-copy-stylesheet --stylesheet-path=style.css --traceback refmanual.gen build/refmanual.html' ) os.system( 'python %s %s' % ( os.path.join( src_dir, 'refmanual.py' ), build_dir ) )
os.system( 'rst2htmlrefdoc.py --traceback -g -d -t --no-frames --dont-copy-stylesheet --stylesheet-path=style.css %s refmanual.html' % src )
os.chdir( 'refmanual' )
cleanup() cleanup()
generate_html() generate_html()
build() build(
os.path.join( os.getcwd(), 'refmanual' )
, os.path.join( os.getcwd(), '_build' )
)

View File

@@ -0,0 +1,21 @@
# Copyright Aleksey Gurtovoy 2009
#
# 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)
from docutils.parsers.rst import Directive
from docutils import nodes
class license_and_copyright( nodes.General, nodes.Element ): pass
class LicenseAndCopyright( Directive ):
has_content = True
def run( self ):
self.assert_has_content()
result_node = license_and_copyright( rawsource = '\n'.join( self.content ) )
self.state.nested_parse( self.content, self.content_offset, result_node )
return [ result_node ]

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright Aleksey Gurtovoy 2007-2008 # Copyright Aleksey Gurtovoy 2007-2009
# #
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at # (See accompanying file LICENSE_1_0.txt or copy at
@@ -16,8 +16,9 @@ setup(
description="convert C++ rst documentation to a set of HTML pages/frames.", description="convert C++ rst documentation to a set of HTML pages/frames.",
author="Aleksey Gurtovoy", author="Aleksey Gurtovoy",
author_email="agurtovoy@meta-comm.com", author_email="agurtovoy@meta-comm.com",
packages=['docutils.writers.html4_refdoc'], packages=['docutils.writers.html4_refdoc', 'docutils.parsers.rst.directives'],
package_dir={'docutils.writers.html4_refdoc': 'writers/html4_refdoc'}, package_dir={'docutils.writers.html4_refdoc': 'writers/html4_refdoc'
,'docutils.parsers.rst.directives': 'parsers/rst/directives' },
package_data={'docutils.writers.html4_refdoc': ['frames.css']}, package_data={'docutils.writers.html4_refdoc': ['frames.css']},
scripts=["tools/rst2htmlrefdoc.py"], scripts=["tools/rst2htmlrefdoc.py"],
) )

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
# Copyright Aleksey Gurtovoy 2004-2008 # Copyright Aleksey Gurtovoy 2004-2009
# #
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at # (See accompanying file LICENSE_1_0.txt or copy at
@@ -13,8 +13,11 @@ try:
except: except:
pass pass
from docutils.core import publish_cmdline, default_description from docutils.parsers.rst import directives
from docutils.parsers.rst.directives import htmlrefdoc
directives.register_directive( 'copyright', htmlrefdoc.LicenseAndCopyright )
from docutils.core import publish_cmdline, default_description
description = ('Generates "framed" (X)HTML documents from standalone reStructuredText ' description = ('Generates "framed" (X)HTML documents from standalone reStructuredText '
'sources. ' + default_description) 'sources. ' + default_description)

View File

@@ -134,6 +134,17 @@ class refdoc_translator(html4_frames.frame_pages_translator):
self.in_literal_block = False self.in_literal_block = False
def visit_license_and_copyright(self, node):
self = self.active_visitor()
self.context.append( len( self.body ) )
def depart_license_and_copyright(self, node):
self = self.active_visitor()
start = self.context.pop()
self.footer = self.body[start:]
del self.body[start:]
def visit_Text(self, node): def visit_Text(self, node):
if not self.in_literal_block: if not self.in_literal_block:
self.__super.visit_Text(self, node) self.__super.visit_Text(self, node)
@@ -161,8 +172,19 @@ class refdoc_translator(html4_frames.frame_pages_translator):
print 'Unresolved substitution_reference:', node.astext() print 'Unresolved substitution_reference:', node.astext()
raise nodes.SkipNode raise nodes.SkipNode
def _handle_depart_page(self, translator, node):
pass def _footer_content(self):
self = self.active_visitor()
parts = ''.join( self.footer ).split( '\n' )
parts = [ '<div class="copyright">%s</div>' % x if x.startswith( 'Copyright' ) else x for x in parts ]
return '<td><div class="copyright-footer">%s</div></td>' % '\n'.join( parts ) if len( parts ) else ''
def _toc_as_text( self, visitor ):
footer_end = visitor.body.pop()
visitor.body.append( self._footer_content() )
visitor.body.append( footer_end )
return visitor.astext()
def _handle_include_sub(base, self, match): def _handle_include_sub(base, self, match):

View File

@@ -1,10 +1,5 @@
.. Macros/Asserts//BOOST_MPL_ASSERT .. Macros/Asserts//BOOST_MPL_ASSERT
.. 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)
BOOST_MPL_ASSERT BOOST_MPL_ASSERT
================ ================
@@ -94,3 +89,7 @@ See also
|Asserts|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_MSG|, |BOOST_MPL_ASSERT_RELATION| |Asserts|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_MSG|, |BOOST_MPL_ASSERT_RELATION|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Asserts//BOOST_MPL_ASSERT_MSG .. Macros/Asserts//BOOST_MPL_ASSERT_MSG
.. 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)
BOOST_MPL_ASSERT_MSG BOOST_MPL_ASSERT_MSG
==================== ====================
@@ -132,3 +127,7 @@ See also
|Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_RELATION| |Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_RELATION|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Asserts//BOOST_MPL_ASSERT_NOT .. Macros/Asserts//BOOST_MPL_ASSERT_NOT
.. 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)
BOOST_MPL_ASSERT_NOT BOOST_MPL_ASSERT_NOT
==================== ====================
@@ -94,3 +89,7 @@ See also
|Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_MSG|, |BOOST_MPL_ASSERT_RELATION| |Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_MSG|, |BOOST_MPL_ASSERT_RELATION|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Asserts//BOOST_MPL_ASSERT_RELATION .. Macros/Asserts//BOOST_MPL_ASSERT_RELATION
.. 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)
BOOST_MPL_ASSERT_RELATION BOOST_MPL_ASSERT_RELATION
========================= =========================
@@ -101,3 +96,7 @@ See also
|Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_MSG| |Asserts|, |BOOST_MPL_ASSERT|, |BOOST_MPL_ASSERT_NOT|, |BOOST_MPL_ASSERT_MSG|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Broken Compiler Workarounds//BOOST_MPL_AUX_LAMBDA_SUPPORT .. Macros/Broken Compiler Workarounds//BOOST_MPL_AUX_LAMBDA_SUPPORT
.. 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)
BOOST_MPL_AUX_LAMBDA_SUPPORT BOOST_MPL_AUX_LAMBDA_SUPPORT
============================ ============================
@@ -103,3 +98,8 @@ See also
.. |PP-tuple| replace:: `PP-tuple <http://www.boost.org/libs/preprocessor/doc/data/tuples.html>`__ .. |PP-tuple| replace:: `PP-tuple <http://www.boost.org/libs/preprocessor/doc/data/tuples.html>`__
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,11 +1,10 @@
.. 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)
The format and language of this reference documentation has been greatly influenced by The format and language of this reference documentation has been greatly influenced by
the SGI's `Standard Template Library Programmer's Guide`__. the SGI's `Standard Template Library Programmer's Guide`__.
__ http://www.sgi.com/tech/stl/ __ http://www.sgi.com/tech/stl/
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
Iteration algorithms are the basic building blocks behind many of the Iteration algorithms are the basic building blocks behind many of the
MPL's algorithms, and are usually the first place to look at when MPL's algorithms, and are usually the first place to look at when
starting to build a new one. Abstracting away the details of sequence starting to build a new one. Abstracting away the details of sequence
@@ -22,3 +17,8 @@ approach.
through ``iter_fold_if`` |--| they are often not, in particular through ``iter_fold_if`` |--| they are often not, in particular
because the restricted functionality allows for more because the restricted functionality allows for more
optimizations. optimizations.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,7 +1,6 @@
.. 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)
.. |Querying Algorithms| replace:: `Querying Algorithms`_ .. |Querying Algorithms| replace:: `Querying Algorithms`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
.. The MPL *runtime algorithms* provide out-of-box support for the .. The MPL *runtime algorithms* provide out-of-box support for the
common scenarios of crossing compile time/runtime boundary. common scenarios of crossing compile time/runtime boundary.
@@ -13,3 +8,7 @@
.. _runtime algorithm: `Runtime Algorithms`_ .. _runtime algorithm: `Runtime Algorithms`_
.. |runtime algorithms| replace:: `runtime algorithms`_ .. |runtime algorithms| replace:: `runtime algorithms`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
According to their name, MPL's *transformation*, or *sequence-building According to their name, MPL's *transformation*, or *sequence-building
algorithms* provide the tools for building new sequences from the existing algorithms* provide the tools for building new sequences from the existing
ones by performing some kind of transformation. A typical transformation ones by performing some kind of transformation. A typical transformation
@@ -27,3 +22,8 @@ way to perform the required transformation.
.. |transformation algorithm| replace:: `transformation algorithm`_ .. |transformation algorithm| replace:: `transformation algorithm`_
.. _transformation algorithm: `Transformation Algorithms`_ .. _transformation algorithm: `Transformation Algorithms`_
.. |transformation algorithms| replace:: `transformation algorithms`_ .. |transformation algorithms| replace:: `transformation algorithms`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
The MPL provides a broad range of fundamental algorithms aimed to The MPL provides a broad range of fundamental algorithms aimed to
satisfy the majority of sequential compile-time data processing satisfy the majority of sequential compile-time data processing
needs. The algorithms include compile-time counterparts needs. The algorithms include compile-time counterparts
@@ -43,3 +38,8 @@ concept.
.. |Output Iterator| replace:: `Output Iterator <http://www.sgi.com/tech/stl/OutputIterator.html>`__ .. |Output Iterator| replace:: `Output Iterator <http://www.sgi.com/tech/stl/OutputIterator.html>`__
.. |sequence algorithms| replace:: `sequence algorithms`_ .. |sequence algorithms| replace:: `sequence algorithms`_
.. _`sequence algorithms`: `Algorithms`_ .. _`sequence algorithms`: `Algorithms`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Associative Sequence |70 .. Sequences/Concepts//Associative Sequence |70
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
Associative Sequence Associative Sequence
==================== ====================
@@ -119,3 +114,8 @@ See also
.. |value| replace:: `value`_ .. |value| replace:: `value`_
.. _`value`: `value-part`_ .. _`value`: `value-part`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Back Extensible Sequence |60 .. Sequences/Concepts//Back Extensible Sequence |60
.. 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)
Back Extensible Sequence Back Extensible Sequence
======================== ========================
@@ -67,3 +62,7 @@ See also
|Sequences|, |Extensible Sequence|, |Front Extensible Sequence|, |push_back|, |pop_back|, |back| |Sequences|, |Extensible Sequence|, |Front Extensible Sequence|, |push_back|, |pop_back|, |back|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Iterators/Concepts//Bidirectional Iterator |20 .. Iterators/Concepts//Bidirectional Iterator |20
.. 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)
Bidirectional Iterator Bidirectional Iterator
====================== ======================
@@ -80,3 +75,7 @@ See also
|Iterators|, |Forward Iterator|, |Random Access Iterator|, |Bidirectional Sequence|, |prior| |Iterators|, |Forward Iterator|, |Random Access Iterator|, |Bidirectional Sequence|, |prior|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Bidirectional Sequence |20 .. Sequences/Concepts//Bidirectional Sequence |20
.. 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)
Bidirectional Sequence Bidirectional Sequence
====================== ======================
@@ -61,3 +56,7 @@ See also
|Sequences|, |Forward Sequence|, |Random Access Sequence|, |Bidirectional Iterator|, |begin| / |end|, |back| |Sequences|, |Forward Sequence|, |Random Access Sequence|, |Bidirectional Iterator|, |begin| / |end|, |back|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_CFG_NO_HAS_XXX |20 .. Macros/Configuration//BOOST_MPL_CFG_NO_HAS_XXX |20
.. 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)
BOOST_MPL_CFG_NO_HAS_XXX BOOST_MPL_CFG_NO_HAS_XXX
======================== ========================
@@ -30,3 +25,7 @@ See also
|Macros|, |Configuration|, |BOOST_MPL_HAS_XXX_TRAIT_DEF|, |BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF| |Macros|, |Configuration|, |BOOST_MPL_HAS_XXX_TRAIT_DEF|, |BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |10 .. Macros/Configuration//BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |10
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
===================================== =====================================
.. _`BOOST_MPL_CFG_NO_PREPROCESSED`: .. _`BOOST_MPL_CFG_NO_PREPROCESSED`:
@@ -42,3 +37,8 @@ See also
.. |preprocessed headers| replace:: `preprocessed headers`_ .. |preprocessed headers| replace:: `preprocessed headers`_
.. _`preprocessed headers`: `BOOST_MPL_CFG_NO_PREPROCESSED`_ .. _`preprocessed headers`: `BOOST_MPL_CFG_NO_PREPROCESSED`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,6 @@
.. include:: ../_build/index.gen
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,6 @@
.. include:: ../_build/concepts.gen
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,17 +1,7 @@
.. 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)
.. _`Categorized`: .. _`Categorized`:
Concepts
////////
.. include:: concepts.gen .. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
Distributed under the Boost Software License, Version 1.0. (See accompanying
Components file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//////////
.. include:: index.gen

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,9 @@
.. 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)
.. _`Data`: .. _`Data`:
.. |Data Types| replace:: `Data Types`_ .. |Data Types| replace:: `Data Types`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Extensible Associative Sequence |80 .. Sequences/Concepts//Extensible Associative Sequence |80
.. 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)
Extensible Associative Sequence Extensible Associative Sequence
=============================== ===============================
@@ -90,3 +85,7 @@ See also
|Sequences|, |Associative Sequence|, |insert|, |erase|, |clear| |Sequences|, |Associative Sequence|, |insert|, |erase|, |clear|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Extensible Sequence |40 .. Sequences/Concepts//Extensible Sequence |40
.. 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)
Extensible Sequence Extensible Sequence
=================== ===================
@@ -80,3 +75,7 @@ See also
|Sequences|, |Back Extensible Sequence|, |insert|, |insert_range|, |erase|, |clear| |Sequences|, |Back Extensible Sequence|, |insert|, |insert_range|, |erase|, |clear|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Iterators/Concepts//Forward Iterator |10 .. Iterators/Concepts//Forward Iterator |10
.. 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)
Forward Iterator Forward Iterator
================ ================
@@ -128,3 +123,7 @@ See also
|Iterators|, |Bidirectional Iterator|, |Forward Sequence|, |deref|, |next| |Iterators|, |Bidirectional Iterator|, |Forward Sequence|, |deref|, |next|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Forward Sequence |10 .. Sequences/Concepts//Forward Sequence |10
.. 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)
Forward Sequence Forward Sequence
================ ================
@@ -94,3 +89,7 @@ See also
|Sequences|, |Bidirectional Sequence|, |Forward Iterator|, |begin| / |end|, |size|, |empty|, |front| |Sequences|, |Bidirectional Sequence|, |Forward Iterator|, |begin| / |end|, |size|, |empty|, |front|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Front Extensible Sequence |50 .. Sequences/Concepts//Front Extensible Sequence |50
.. 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)
Front Extensible Sequence Front Extensible Sequence
========================= =========================
@@ -67,3 +62,7 @@ See also
|Sequences|, |Extensible Sequence|, |Back Extensible Sequence|, |push_front|, |pop_front|, |front| |Sequences|, |Extensible Sequence|, |Back Extensible Sequence|, |push_front|, |pop_front|, |front|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_DEF .. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_DEF
.. 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)
BOOST_MPL_HAS_XXX_TRAIT_DEF BOOST_MPL_HAS_XXX_TRAIT_DEF
=========================== ===========================
@@ -119,3 +114,7 @@ See also
|Macros|, |BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF|, |BOOST_MPL_CFG_NO_HAS_XXX| |Macros|, |BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF|, |BOOST_MPL_CFG_NO_HAS_XXX|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF .. Macros/Introspection//BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF
.. 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)
BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF
================================= =================================
@@ -156,3 +151,7 @@ See also
|Macros|, |BOOST_MPL_HAS_XXX_TRAIT_DEF|, |BOOST_MPL_CFG_NO_HAS_XXX| |Macros|, |BOOST_MPL_HAS_XXX_TRAIT_DEF|, |BOOST_MPL_CFG_NO_HAS_XXX|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Algorithms/Concepts//Inserter .. Algorithms/Concepts//Inserter
.. 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)
Inserter Inserter
======== ========
@@ -77,3 +72,8 @@ See also
-------- --------
|Algorithms|, |Transformation Algorithms|, |[inserter]|, |front_inserter|, |back_inserter| |Algorithms|, |Transformation Algorithms|, |[inserter]|, |front_inserter|, |back_inserter|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Data Types/Concepts//Integral Constant .. Data Types/Concepts//Integral Constant
.. 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)
Integral Constant Integral Constant
================= =================
@@ -80,3 +75,7 @@ See also
|Data Types|, |Integral Sequence Wrapper|, |integral_c| |Data Types|, |Integral Sequence Wrapper|, |integral_c|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Integral Sequence Wrapper |90 .. Sequences/Concepts//Integral Sequence Wrapper |90
.. 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)
Integral Sequence Wrapper Integral Sequence Wrapper
========================= =========================
@@ -119,3 +114,7 @@ See also
|Sequences|, |Variadic Sequence|, |Integral Constant| |Sequences|, |Variadic Sequence|, |Integral Constant|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
All iterators in MPL are classified into three iterator concepts, or All iterators in MPL are classified into three iterator concepts, or
`categories`, named according to the type of traversal provided. The `categories`, named according to the type of traversal provided. The
categories are: |Forward Iterator|, |Bidirectional Iterator|, and categories are: |Forward Iterator|, |Bidirectional Iterator|, and
@@ -15,5 +10,9 @@ Because of the inherently immutable nature of the value access, MPL
iterators escape the problems of the traversal-only categorization iterators escape the problems of the traversal-only categorization
discussed at length in [n1550]_. discussed at length in [n1550]_.
.. [n1550] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1550.htm .. [n1550] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1550.htm
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,9 @@
From the MPL standpoint, all iterators are opaque types. Incrementing,
dereferencing and the rest of iterator functionality is accessed
through the associated iterator metafunctions.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,12 +0,0 @@
.. 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)
From the implementation standpoint, iterators are almost-opaque types which
guarantee to provide us with the only memeber that we can access directly:
their category. Incrementing, dereferencing and the rest of iterator
functionality is available to us through the accosiated iterator
metafunctions.

View File

@@ -1,9 +1,4 @@
.. 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)
Iterators are generic means of addressing a particular element or a range Iterators are generic means of addressing a particular element or a range
of sequential elements in a sequence. They are also a mechanism that makes of sequential elements in a sequence. They are also a mechanism that makes
it possible to decouple `algorithms`__ from concrete compile-time `sequence it possible to decouple `algorithms`__ from concrete compile-time `sequence
@@ -17,3 +12,8 @@ __ `label-Sequences-Classes`_
.. Analogy with STL iterators? .. Analogy with STL iterators?
.. More? .. More?
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_LIST_SIZE |40 .. Macros/Configuration//BOOST_MPL_LIMIT_LIST_SIZE |40
.. 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)
BOOST_MPL_LIMIT_LIST_SIZE BOOST_MPL_LIMIT_LIST_SIZE
========================= =========================
@@ -52,3 +47,7 @@ See also
|Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_VECTOR_SIZE| |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_VECTOR_SIZE|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_MAP_SIZE |60 .. Macros/Configuration//BOOST_MPL_LIMIT_MAP_SIZE |60
.. 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)
BOOST_MPL_LIMIT_MAP_SIZE BOOST_MPL_LIMIT_MAP_SIZE
======================== ========================
@@ -61,3 +56,7 @@ See also
|Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_SET_SIZE| |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_SET_SIZE|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_METAFUNCTION_ARITY |20 .. Macros/Configuration//BOOST_MPL_LIMIT_METAFUNCTION_ARITY |20
.. 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)
BOOST_MPL_LIMIT_METAFUNCTION_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY
================================== ==================================
@@ -65,3 +60,7 @@ See also
|Macros|, |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS| |Macros|, |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_SET_SIZE |50 .. Macros/Configuration//BOOST_MPL_LIMIT_SET_SIZE |50
.. 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)
BOOST_MPL_LIMIT_SET_SIZE BOOST_MPL_LIMIT_SET_SIZE
======================== ========================
@@ -51,3 +46,8 @@ See also
-------- --------
|Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_MAP_SIZE| |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_MAP_SIZE|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_STRING_SIZE |65 .. Macros/Configuration//BOOST_MPL_LIMIT_STRING_SIZE |65
.. Copyright Eric Niebler 2009.
.. 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)
BOOST_MPL_LIMIT_STRING_SIZE BOOST_MPL_LIMIT_STRING_SIZE
=========================== ===========================
@@ -50,3 +45,7 @@ See also
|Configuration|, |BOOST_MPL_LIMIT_VECTOR_SIZE| |Configuration|, |BOOST_MPL_LIMIT_VECTOR_SIZE|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_UNROLLING |70 .. Macros/Configuration//BOOST_MPL_LIMIT_UNROLLING |70
.. 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)
BOOST_MPL_LIMIT_UNROLLING BOOST_MPL_LIMIT_UNROLLING
========================= =========================
@@ -41,3 +36,8 @@ See also
-------- --------
|Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS| |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Macros/Configuration//BOOST_MPL_LIMIT_VECTOR_SIZE |30 .. Macros/Configuration//BOOST_MPL_LIMIT_VECTOR_SIZE |30
.. 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)
BOOST_MPL_LIMIT_VECTOR_SIZE BOOST_MPL_LIMIT_VECTOR_SIZE
=========================== ===========================
@@ -52,3 +47,7 @@ See also
|Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_LIST_SIZE| |Configuration|, |BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS|, |BOOST_MPL_LIMIT_LIST_SIZE|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Lambda Expression |30 .. Metafunctions/Concepts//Lambda Expression |30
.. 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)
Lambda Expression Lambda Expression
================= =================
@@ -40,3 +35,8 @@ See also
-------- --------
|Metafunctions|, |Placeholders|, |apply|, |lambda| |Metafunctions|, |Placeholders|, |apply|, |lambda|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
The MPL supplies a suite of static assertion macros that are specifically The MPL supplies a suite of static assertion macros that are specifically
designed to generate maximally useful and informative error messages designed to generate maximally useful and informative error messages
within the diagnostic capabilities of each compiler. within the diagnostic capabilities of each compiler.
@@ -12,3 +7,8 @@ All assert macros can be used at class, function, or namespace scope.
.. |Asserts| replace:: `Asserts`_ .. |Asserts| replace:: `Asserts`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,7 +1,6 @@
.. 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)
.. |Configuration| replace:: `Configuration`_ .. |Configuration| replace:: `Configuration`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
Being a *template* metaprogramming framework, the MPL concentrates on Being a *template* metaprogramming framework, the MPL concentrates on
getting one thing done well and leaves most of the clearly getting one thing done well and leaves most of the clearly
preprocessor-related tasks to the corresponding specialized preprocessor-related tasks to the corresponding specialized
@@ -21,3 +16,7 @@ __ http://www.boost.org/libs/preprocessor/doc/index.html
.. [Ve03] Vesa Karvonen, `The Order Programming Language`, 2003. .. [Ve03] Vesa Karvonen, `The Order Programming Language`, 2003.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Metafunction |10 .. Metafunctions/Concepts//Metafunction |10
.. 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)
Metafunction Metafunction
============ ============
@@ -100,3 +95,7 @@ See also
|Metafunctions|, |Metafunction Class|, |Lambda Expression|, |Invocation|, |apply|, |lambda|, |bind| |Metafunctions|, |Metafunction Class|, |Lambda Expression|, |Invocation|, |apply|, |lambda|, |bind|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Metafunction Class |20 .. Metafunctions/Concepts//Metafunction Class |20
.. 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)
Metafunction Class Metafunction Class
================== ==================
@@ -89,3 +84,8 @@ See also
-------- --------
|Metafunctions|, |Metafunction|, |Lambda Expression|, |Invocation|, |apply_wrap|, |bind|, |quote| |Metafunctions|, |Metafunction|, |Lambda Expression|, |Invocation|, |apply_wrap|, |bind|, |quote|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,9 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |Arithmetic Operations| replace:: `Arithmetic Operations`_ .. |Arithmetic Operations| replace:: `Arithmetic Operations`_
.. |arithmetic| replace:: arithmetic_ .. |arithmetic| replace:: arithmetic_
.. _arithmetic: `Arithmetic Operations`_ .. _arithmetic: `Arithmetic Operations`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,9 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |Bitwise Operations| replace:: `Bitwise Operations`_ .. |Bitwise Operations| replace:: `Bitwise Operations`_
.. |bitwise| replace:: `bitwise`_ .. |bitwise| replace:: `bitwise`_
.. _`bitwise`: `Bitwise Operations`_ .. _`bitwise`: `Bitwise Operations`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,9 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |Comparisons| replace:: `Comparisons`_ .. |Comparisons| replace:: `Comparisons`_
.. |comparison| replace:: `comparison`_ .. |comparison| replace:: `comparison`_
.. _`comparison`: `Comparisons`_ .. _`comparison`: `Comparisons`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |Composition and Argument Binding| replace:: `Composition and Argument Binding`_ .. |Composition and Argument Binding| replace:: `Composition and Argument Binding`_
.. |composition| replace:: `composition`_ .. |composition| replace:: `composition`_
@@ -11,3 +6,8 @@
.. |argument binding| replace:: `argument binding`_ .. |argument binding| replace:: `argument binding`_
.. _`argument binding`: `Composition and Argument Binding`_ .. _`argument binding`: `Composition and Argument Binding`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,7 +1,6 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |control flow| replace:: `control flow`_ .. |control flow| replace:: `control flow`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,7 +1,6 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |invocation| replace:: `invocation`_ .. |invocation| replace:: `invocation`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,11 +1,11 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |logical| replace:: `logical`_ .. |logical| replace:: `logical`_
.. _`logical`: `Logical Operations`_ .. _`logical`: `Logical Operations`_
.. |Logical Operations| replace:: `Logical Operations`_ .. |Logical Operations| replace:: `Logical Operations`_
.. |logical operations| replace:: `logical operations`_ .. |logical operations| replace:: `logical operations`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -0,0 +1,4 @@
.. copyright:: Copyright 2009 Eric Niebler
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)

View File

@@ -0,0 +1,41 @@
.. Metafunctions/Trivial//Trivial Metafunctions Summary |10
Trivial Metafunctions Summary
=============================
In the following table, ``x`` is an arbitrary class type.
.. |first| replace:: `:refentry:`first` <|first link|>`__
.. |second| replace:: `:refentry:`second` <|second link|>`__
.. |base| replace:: `:refentry:`base` <|base link|>__
.. |first link| replace:: `trivial-first`_
.. |second link| replace:: `trivial-second`_
.. |base link| replace:: `trivial-base`_
.. _`trivial-first`:
.. _`trivial-second`:
.. _`trivial-base`:
+---------------------------+-------------------------------------------+
| Metafunction | Header |
+===========================+===========================================+
| ``first<x>::type`` | ``#include <boost/mpl/pair.hpp>`` |
+---------------------------+-------------------------------------------+
| ``second<x>::type`` | ``#include <boost/mpl/pair.hpp>`` |
+---------------------------+-------------------------------------------+
| ``base<x>::type`` | ``#include <boost/mpl/base.hpp>`` |
+---------------------------+-------------------------------------------+
See Also
--------
|Metafunctions|, |Trivial Metafunction|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
The MPL provides a number of |Trivial Metafunction|\ s that a nothing more than The MPL provides a number of |Trivial Metafunction|\ s that a nothing more than
thin wrappers for a differently-named class nested type members. While important thin wrappers for a differently-named class nested type members. While important
in the context of `in-place metafunction composition`__, these metafunctions have in the context of `in-place metafunction composition`__, these metafunctions have
@@ -17,41 +12,10 @@ presented below.
__ `Composition and Argument Binding`_ __ `Composition and Argument Binding`_
__ `Trivial Metafunction`_ __ `Trivial Metafunction`_
Trivial Metafunctions Summary
=============================
In the following table, ``x`` is an arbitrary class type.
.. |first| replace:: `:refentry:`first` <|first link|>`__
.. |second| replace:: `:refentry:`second` <|second link|>`__
.. |base| replace:: `:refentry:`base` <|base link|>__
.. |first link| replace:: `trivial-first`_
.. |second link| replace:: `trivial-second`_
.. |base link| replace:: `trivial-base`_
.. _`trivial-first`:
.. _`trivial-second`:
.. _`trivial-base`:
+---------------------------+-------------------------------------------+
| Metafunction | Header |
+===========================+===========================================+
| ``first<x>::type`` | ``#include <boost/mpl/pair.hpp>`` |
+---------------------------+-------------------------------------------+
| ``second<x>::type`` | ``#include <boost/mpl/pair.hpp>`` |
+---------------------------+-------------------------------------------+
| ``base<x>::type`` | ``#include <boost/mpl/base.hpp>`` |
+---------------------------+-------------------------------------------+
See Also
--------
|Metafunctions|, |Trivial Metafunction|
.. |Trivial Metafunctions| replace:: `Trivial Metafunctions`_ .. |Trivial Metafunctions| replace:: `Trivial Metafunctions`_
.. _`Trivial Metafunctions`: `label-Metafunctions-Trivial`_ .. _`Trivial Metafunctions`: `label-Metafunctions-Trivial`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,7 +1,6 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. |type selection| replace:: `type selection`_ .. |type selection| replace:: `type selection`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
The MPL includes a number of predefined metafunctions that can be roughly The MPL includes a number of predefined metafunctions that can be roughly
classified in two categories: `general purpose metafunctions`, dealing with classified in two categories: `general purpose metafunctions`, dealing with
conditional |type selection| and higher-order metafunction |invocation|, conditional |type selection| and higher-order metafunction |invocation|,
@@ -54,3 +49,8 @@ allow to pass up to N arguments, where N is defined by the value of
internally, they elude these problems, so if you aim for portability, it is internally, they elude these problems, so if you aim for portability, it is
generally adviced to use them in the place of the conventional operators, even generally adviced to use them in the place of the conventional operators, even
at the price of slightly decreased readability. at the price of slightly decreased readability.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Numeric Metafunction |60 .. Metafunctions/Concepts//Numeric Metafunction |60
.. 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)
Numeric Metafunction Numeric Metafunction
==================== ====================
@@ -142,3 +137,7 @@ See also
|Tag Dispatched Metafunction|, |Metafunctions|, |numeric_cast| |Tag Dispatched Metafunction|, |Metafunctions|, |numeric_cast|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Placeholder Expression |40 .. Metafunctions/Concepts//Placeholder Expression |40
.. 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)
Placeholder Expression Placeholder Expression
====================== ======================
@@ -47,3 +42,8 @@ See also
-------- --------
|Lambda Expression|, |Placeholders|, |Metafunctions|, |apply|, |lambda| |Lambda Expression|, |Placeholders|, |Metafunctions|, |apply|, |lambda|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Composition and Argument Binding//_1,_2,..._n |10 .. Metafunctions/Composition and Argument Binding//_1,_2,..._n |10
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
Placeholders Placeholders
============ ============
.. _`placeholder`: .. _`placeholder`:
@@ -117,3 +112,8 @@ See also
.. _`_5`: `Placeholders`_ .. _`_5`: `Placeholders`_
.. |_1,_2,..._n| replace:: |_1|, |_2|, |_3|,\ |...| .. |_1,_2,..._n| replace:: |_1|, |_2|, |_3|,\ |...|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Iterators/Concepts//Random Access Iterator |30 .. Iterators/Concepts//Random Access Iterator |30
.. 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)
Random Access Iterator Random Access Iterator
====================== ======================
@@ -80,3 +75,7 @@ See also
|Iterators|, |Bidirectional Iterator|, |Random Access Sequence|, |advance|, |distance| |Iterators|, |Bidirectional Iterator|, |Random Access Sequence|, |advance|, |distance|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Random Access Sequence |30 .. Sequences/Concepts//Random Access Sequence |30
.. 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)
Random Access Sequence Random Access Sequence
====================== ======================
@@ -64,3 +59,7 @@ See also
|Sequences|, |Bidirectional Sequence|, |Extensible Sequence|, |Random Access Iterator|, |Sequences|, |Bidirectional Sequence|, |Extensible Sequence|, |Random Access Iterator|,
|begin| / |end|, |at| |begin| / |end|, |at|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Algorithms/Concepts//Reversible Algorithm .. Algorithms/Concepts//Reversible Algorithm
.. 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)
Reversible Algorithm Reversible Algorithm
==================== ====================
@@ -166,3 +161,7 @@ See also
|Transformation Algorithms|, |Inserter| |Transformation Algorithms|, |Inserter|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,11 +1,11 @@
.. 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)
The MPL provides a large number of predefined general-purpose sequence The MPL provides a large number of predefined general-purpose sequence
classes covering most of the typical metaprogramming needs out-of-box. classes covering most of the typical metaprogramming needs out-of-box.
.. For all library-supplied sequences a publicly-derived class with no additional .. For all library-supplied sequences a publicly-derived class with no additional
members is equivalent except for type identity. members is equivalent except for type identity.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
The taxonomy of sequence concepts in MPL parallels the taxonomy of the MPL The taxonomy of sequence concepts in MPL parallels the taxonomy of the MPL
|iterators|, with two additional classification dimensions: |iterators|, with two additional classification dimensions:
`extensibility` and `associativeness`. `extensibility` and `associativeness`.
@@ -31,3 +26,8 @@ The taxonomy of sequence concepts in MPL parallels the taxonomy of the MPL
.. |sequence concepts| replace:: `sequence concepts`_ .. |sequence concepts| replace:: `sequence concepts`_
.. _`sequence concepts`: `label-Sequences-Concepts`_ .. _`sequence concepts`: `label-Sequences-Concepts`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
The metafunctions that form the essential interface of sequence `classes`__ The metafunctions that form the essential interface of sequence `classes`__
documented in the corresponding |sequence concepts| are known as documented in the corresponding |sequence concepts| are known as
*intrinsic sequence operations*. They differ from generic *intrinsic sequence operations*. They differ from generic
@@ -20,3 +15,7 @@ usually implemented as member functions.
that you've implemented the core functionality they rely on (such that you've implemented the core functionality they rely on (such
as |begin| / |end|). as |begin| / |end|).
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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)
A *view* is a sequence adaptor delivering an altered presentation of A *view* is a sequence adaptor delivering an altered presentation of
one or more underlying sequences. Views are lazy, meaning that their one or more underlying sequences. Views are lazy, meaning that their
elements are only computed on demand. Similarly to the short-circuit elements are only computed on demand. Similarly to the short-circuit
@@ -14,3 +9,8 @@ algorithmic problems can be solved in a simpler, more conceptually
precise, more expressive way. precise, more expressive way.
.. |Views| replace:: `Views`_ .. |Views| replace:: `Views`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. 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++ Compile-time sequences of types are one of the basic concepts of C++
template metaprogramming. Differences in types of objects being template metaprogramming. Differences in types of objects being
manipulated is the most common point of variability of similar, but manipulated is the most common point of variability of similar, but
@@ -21,3 +16,8 @@ and understanding of sequence properties, guarantees and
characteristics, as well as a first-class implementation of that characteristics, as well as a first-class implementation of that
framework |--| a wealth of tools for concise, convenient, framework |--| a wealth of tools for concise, convenient,
conceptually precise and efficient sequence manipulation. conceptually precise and efficient sequence manipulation.
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Tag Dispatched Metafunction |50 .. Metafunctions/Concepts//Tag Dispatched Metafunction |50
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
Tag Dispatched Metafunction Tag Dispatched Metafunction
=========================== ===========================
@@ -166,3 +161,8 @@ See also
.. |tag dispatched| replace:: `tag dispatched`_ .. |tag dispatched| replace:: `tag dispatched`_
.. _`tag dispatched`: `Tag Dispatched Metafunction`_ .. _`tag dispatched`: `Tag Dispatched Metafunction`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,9 +1,4 @@
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
.. _`Overloaded name`: .. _`Overloaded name`:
Overloaded name Overloaded name
@@ -40,3 +35,8 @@ Bind expression
.. |overloaded name| replace:: `overloaded name`_ .. |overloaded name| replace:: `overloaded name`_
.. |concept-identical| replace:: `concept-identical`_ .. |concept-identical| replace:: `concept-identical`_
.. |bind expression| replace:: `bind expression`_ .. |bind expression| replace:: `bind expression`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Concepts//Trivial Metafunction |70 .. Metafunctions/Concepts//Trivial Metafunction |70
.. 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)
Trivial Metafunction Trivial Metafunction
==================== ====================
@@ -63,3 +58,7 @@ See also
|Metafunctions|, |Trivial Metafunctions|, |identity| |Metafunctions|, |Trivial Metafunctions|, |identity|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Concepts//Variadic Sequence |100 .. Sequences/Concepts//Variadic Sequence |100
.. Copyright Aleksey Gurtovoy, David Abrahams 2001-2009.
.. 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)
Variadic Sequence Variadic Sequence
================= =================
@@ -121,3 +116,8 @@ See also
.. |numbered forms| replace:: `numbered forms`_ .. |numbered forms| replace:: `numbered forms`_
.. _`numbered forms`: `Variadic Sequence`_ .. _`numbered forms`: `Variadic Sequence`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Algorithms/Iteration Algorithms//accumulate |10 .. Algorithms/Iteration Algorithms//accumulate |10
.. 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)
accumulate accumulate
========== ==========
@@ -105,3 +100,8 @@ See also
-------- --------
|Algorithms|, |fold|, |reverse_fold|, |iter_fold|, |reverse_iter_fold|, |copy|, |copy_if| |Algorithms|, |fold|, |reverse_fold|, |iter_fold|, |reverse_iter_fold|, |copy|, |copy_if|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Iterators/Iterator Metafunctions//advance |10 .. Iterators/Iterator Metafunctions//advance |10
.. 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)
advance advance
======= =======
@@ -132,3 +127,8 @@ See also
.. _bidirectional: `Bidirectional Iterator`_ .. _bidirectional: `Bidirectional Iterator`_
.. |random access| replace:: `random access`_ .. |random access| replace:: `random access`_
.. _random access: `Random Access Iterator`_ .. _random access: `Random Access Iterator`_
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Miscellaneous//always |20 .. Metafunctions/Miscellaneous//always |20
.. 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)
always always
====== ======
@@ -90,3 +85,8 @@ See also
-------- --------
|Metafunctions|, |Metafunction Class|, |identity|, |bind|, |apply| |Metafunctions|, |Metafunction Class|, |identity|, |bind|, |apply|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Logical Operations//and_ |10 .. Metafunctions/Logical Operations//and_ |10
.. 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)
and\_ and\_
===== =====
@@ -107,3 +102,7 @@ See also
|Metafunctions|, |Logical Operations|, |or_|, |not_| |Metafunctions|, |Logical Operations|, |or_|, |not_|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Invocation//apply |10 .. Metafunctions/Invocation//apply |10
.. 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)
apply apply
===== =====
@@ -117,3 +112,8 @@ See also
-------- --------
|Metafunctions|, |apply_wrap|, |lambda|, |quote|, |bind| |Metafunctions|, |apply_wrap|, |lambda|, |quote|, |bind|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Invocation//apply_wrap |20 .. Metafunctions/Invocation//apply_wrap |20
.. 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)
apply_wrap apply_wrap
========== ==========
@@ -132,3 +127,8 @@ See also
-------- --------
|Metafunctions|, |Invocation|, |apply|, |lambda|, |quote|, |bind|, |protect| |Metafunctions|, |Invocation|, |apply|, |lambda|, |quote|, |bind|, |protect|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Metafunctions/Composition and Argument Binding//arg |50 .. Metafunctions/Composition and Argument Binding//arg |50
.. 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)
arg arg
=== ===
@@ -93,3 +88,8 @@ See also
-------- --------
|Composition and Argument Binding|, |Placeholders|, |lambda|, |bind|, |apply|, |apply_wrap| |Composition and Argument Binding|, |Placeholders|, |lambda|, |bind|, |apply|, |apply_wrap|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Intrinsic Metafunctions//at .. Sequences/Intrinsic Metafunctions//at
.. 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)
at at
== ==
@@ -176,3 +171,8 @@ See also
-------- --------
|Forward Sequence|, |Random Access Sequence|, |Associative Sequence|, |at_c|, |front|, |back| |Forward Sequence|, |Random Access Sequence|, |Associative Sequence|, |at_c|, |front|, |back|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Intrinsic Metafunctions//at_c .. Sequences/Intrinsic Metafunctions//at_c
.. 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)
at_c at_c
==== ====
@@ -103,3 +98,8 @@ See also
-------- --------
|Forward Sequence|, |Random Access Sequence|, |at|, |front|, |back| |Forward Sequence|, |Random Access Sequence|, |at|, |front|, |back|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

View File

@@ -1,10 +1,5 @@
.. Sequences/Intrinsic Metafunctions//back .. Sequences/Intrinsic Metafunctions//back
.. 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)
back back
==== ====
@@ -102,3 +97,7 @@ See also
|Bidirectional Sequence|, |front|, |push_back|, |end|, |deref|, |at| |Bidirectional Sequence|, |front|, |push_back|, |end|, |deref|, |at|
.. copyright:: Copyright <20> 2001-2009 Aleksey Gurtovoy and David Abrahams
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)

Some files were not shown because too many files have changed in this diff Show More