|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70553 - in sandbox/assign_v2/libs/assign/v2/doc_copy: . html html/boost_assign html/boost_assign/org html/boost_assign_v2 html/boost_assign_v2/apx html/boost_assign_v2/common html/boost_assign_v2/conv html/boost_assign_v2/detail html/boost_assign_v2/misc html/boost_assign_v2/put html/boost_assign_v2/ref html/boost_assign_v2/reference html/boost_assign_v2/util html/boost_assign_v2/utility src src/images src/images/callouts
From: erwann.rogard_at_[hidden]
Date: 2011-03-25 21:45:47
Author: e_r
Date: 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
New Revision: 70553
URL: http://svn.boost.org/trac/boost/changeset/70553
Log:
upd assign_v2
Added:
sandbox/assign_v2/libs/assign/v2/doc_copy/
sandbox/assign_v2/libs/assign/v2/doc_copy/Jamfile.v2 (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/boost_assign_v2.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/boostbook.css (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/chain.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/config.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/conv.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/conversion.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/csv.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/deque.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/detail_keyword.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/conv.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/headers.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/include.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/id.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/ns.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/tutorial.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/Functions.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/all_ex.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/arity.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/bibl.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/change_log.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/help.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/hist.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/perf.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/port.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/portability.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/run_eff.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/arity.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/bibl.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/chain.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/change_log.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common/arity.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/ex.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/index.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/syn.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/config.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/keyword.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ex.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_key.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_op.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/headers.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/help.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/hist.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/include.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/adaptor____sub_range___.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/chain.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/sub_range.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/nil.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/org.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/portability.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/adapter.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/cont.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/container.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deduce.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deque.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/ext.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/frame.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/fun.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/insert.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modifier.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modulo.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/pipe.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_back.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_front.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/put.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/std.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/qs.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/ar.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/array.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/config.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/csv.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/get.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/put.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/wrapper.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/config.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/conversion.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/csv.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/deque.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/detail.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/include.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/interpreter.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/option.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/pipe.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/put.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/ref.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/utility.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/value.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/support.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tut.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tutorial.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/chain.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/sub_range.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/chain.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/conversion.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/convert.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/csv.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2_HTML.manifest (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/html/index.html (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/include.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/interpreter.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/option.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/org.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/perf.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/pipe.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/port.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/put.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/ref.qbk (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/
sandbox/assign_v2/libs/assign/v2/doc_copy/src/boost.xml (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/boostbook.css (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/docutils.css (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/alert.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/blank.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/1.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/10.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/11.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/12.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/13.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/14.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/15.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/2.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/3.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/4.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/5.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/6.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/7.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/8.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/9.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/caution.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/draft.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/home.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/important.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/next.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/next_disabled.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/note.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/prev.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/prev_disabled.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/smiley.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/tip.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-blank.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-minus.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-plus.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/up.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/up_disabled.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/warning.png (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/minimal.css (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/src/reference.css (contents, props changed)
sandbox/assign_v2/libs/assign/v2/doc_copy/tut.qbk (contents, props changed)
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/Jamfile.v2 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,23 @@
+
+import boostbook : boostbook ;
+using quickbook ;
+
+#doxygen ref
+# :
+ #[ glob ../../../../boost/assign/v2/*.hpp ]
+# :
+# <doxygen:param>EXPAND_ONLY_PREDEF=YES
+# <doxygen:param>GENERATE_TAGFILE=ref.tag
+# ;
+
+boostbook boost_assign_v2
+ :
+ boost_assign_v2.qbk
+ :
+ #<dependency>ref
+ <xsl:param>boost.max.id.length=1024
+ <xsl:param>toc.max.depth=4
+ <xsl:param>toc.section.depth=4
+ <xsl:param>chunk.section.depth=2
+ <xsl:param>html.stylesheet="../boostbook.css"
+ ;
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/boost_assign_v2.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/boost_assign_v2.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,373 @@
+[library Boost.Assign
+ [quickbook 1.5]
+ [version 2.0]
+ [authors [Thorsten, Ottosen],[Rogard, Erwann]]
+ [copyright 2003-2004 Thorsten Ottosen, 2010 Erwann Rogard]
+ [license
+ 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])
+ ]
+ [id boost_assign_v2]
+]
+
+[/Support]
+
+[def __TO__ [@http://www.boost.org/users/people/thorsten_ottosen.html TO]]
+[def __ER__ [@mailto:erDOTciDOT2020ATgmailDOTcom ER]]
+
+[template tpl_user_mailing_list[var] [@http://www.boost.org/community/groups.html#users [var]]]
+[def __user_mailing_list__ [tpl_user_mailing_list Boost Users Mailing List]]
+[def __url_boost_assign_v2_mini_review__ [@http://lists.boost.org/Archives/boost/2010/06/168028.php mini-review]]
+
+[/ C++ ]
+
+[def __cpp03__ C++03]
+[def __cpp0x__ C++0x]
+[template tpl_cpp03[var] [@http://en.wikipedia.org/wiki/C%2B%2B03 [var]]]
+[template tpl_cpp0x[var] [@http://www2.research.att.com/~bs/C++0xFAQ.html [var]]]
+[def __url_cpp03__ [tpl_cpp03 __cpp03__]]
+[def __url_cpp0x__ [tpl_cpp0x __cpp0x__]]
+
+[/ Platform]
+
+[def __mac_os__ OS X 10.6.5]
+[def __mac_default_compiler__ gcc4.2]
+[def __mac_processor__ 2.4 Ghz Intel Core 2 Duo]
+[def __mac_mem__ 4GB 1067 Mhz DDR3]
+[def __fink__ Fink]
+[template tpl_fink[var] [@http://www.finkproject.org/ [var]]]
+[def __url_fink__ [tpl_fink __fink__]]
+
+[/ Libraries ]
+
+[def __callout__ [@http://www.boost.org/doc/libs/1_45_0/doc/html/quickbook/syntax.html#quickbook.syntax.phrase.anchors callout]]
+
+[def __boost_assign_v1__ Boost.Assign 1.0]
+[template tpl_boost_assign_v1[var] [@../../../../../libs/assign/doc/index.html [var]]]
+[def __url_boost_assign_v1__ [tpl_boost_assign_v1 __boost_assign_v1__]]
+
+[def __boost_assign_v2__ Boost.Assign 2.0]
+[template tpl_boost_assign_v2[var] [@./index.html [var]]]
+[def __url_boost_assign_v2__ [tpl_boost_assign_v2 __boost_assign_v2__]]
+
+[def __boost__ Boost]
+[template tpl_boost[var] [@http://www.boost.org [var]]]
+[def __url_boost__ [tpl_boost __boost__]]
+
+[template tpl_boost_array[var] [@http://www.boost.org/doc/libs/release/doc/html/array.html [var]]]
+
+[template tpl_mpl[var] [@http://www.boost.org/libs/mpl/index.html [var]]]
+[def __mpl__ [tpl_mpl MPL]]
+
+[template tpl_stl[var] [@http://en.wikipedia.org/wiki/Standard_Template_Library [var]]]
+[def __stl__ [tpl_stl STL]]
+
+[template tpl_stl_assoc[var] [@http://www.sgi.com/tech/stl/AssociativeContainer.html [var]]]
+[template tpl_stl_seq[var] [@http://www.sgi.com/tech/stl/Sequence.html [var]]]
+[template tpl_stl_adapter[var] [@http://flylib.com/books/en/2.674.1.106/1/ [var]]]
+[template tpl_stl_deque[var] [@http://www.sgi.com/tech/stl/Deque.html [var]]]
+[template tpl_stl_cont[var] [@http://www.sgi.com/tech/stl/Container.html [var]]]
+
+[template tpl_lambda[var] [@http://www.boost.org/doc/libs/release/doc/html/lambda.html [var]]]
+[def __lambda__ [tpl_lambda lambda]]
+
+[template tpl_ptr_container[var] [@http://www.boost.org/doc/libs/release/libs/ptr_container/doc/ptr_container.html [var]]]
+
+[template tpl_range[var] [@http://www.boost.org/doc/libs/release/libs/range/index.html [var]]]
+[template tpl_range_adaptor[var] [@http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html [var]]]
+[template tpl_range_adaptor_compose[var] [@http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors/introduction.html#range.reference.adaptors.introduction.composition_of_adaptors [var]]]
+[template tpl_range_algo[var] [@http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/algorithms.html [var]]]
+[template tpl_range_join[var] [@http://svn.boost.org/svn/boost/trunk/boost/range/join.hpp [var]]]
+[template tpl_itr[var] [@http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/utilities/iterator_range.html [var]]]
+
+[template tpl_operators[var] [@http://www.boost.org/doc/libs/release/libs/utility/operators.htm [var]]]
+[template tpl_boost_typeof[var] [@http://www.boost.org/doc/libs/1_35_0/doc/html/typeof.html [var]]]
+
+[/Concepts]
+
+[template tpl_meta_fun[var] [@http://svn.boost.org/svn/boost/trunk/libs/mpl/doc/refmanual/metafunction.html [var]]]
+[template tpl_meta_fun_class[var] [@http://svn.boost.org/svn/boost/trunk/libs/mpl/doc/refmanual/metafunction-class.html [var]]]
+[template tpl_concept_range[var] [@http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/concepts/overview.html [var]]]
+[template tpl_crtp[var] [@http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern [var]]]
+[template tpl_class_tpl[var] [@http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm [var]]]
+[template tpl_pipe[var] [@http://en.wikipedia.org/wiki/Vertical_bar#Pipe [var]]]
+
+[/Files]
+
+[template tpl_boost_trunk [var] [@http://svn.boost.org/svn/boost/trunk [var]]]
+[def __boost_trunk__ [tpl_boost_trunk [^boost-trunk]]]
+
+[template tpl_boost_type [var] [@http://svn.boost.org/svn/boost/trunk/boost/type.hpp [var]]]
+[def __boost_type__ [@http://svn.boost.org/svn/boost/trunk/boost/type.hpp boost::type]]
+
+[template tpl_dir_boost_assign_v2[var] [@../../../../../boost/assign/v2 [var]]]
+[def __dir_boost_assign_v2__ [tpl_dir_boost_assign_v2 boost/assign/v2]]
+
+[template tpl_dir_libs_assign_v2[var] [@../../ [var]]]
+[def __dir_libs_assign_v2__ [tpl_dir_libs_assign_v2 libs/assign/v2]]
+
+[template tpl_dir_libs_assign_v2_example [var] [@../../example [var]]]
+[def __dir_libs_assign_v2_example__ [tpl_dir_libs_assign_v2_example libs/assign/v2/example]]
+
+[template tpl_test[var] [@../../test/ [var]] ]
+[template tpl_run_eff[var] [@../../speed/results [var]] ]
+
+[/ Templates]
+
+[template tpl_join[a b][a][b]]
+[template tpl_typeof[object][tpl_join [object]..__type_ext__]]
+[template tpl_seq[index first last] [index] = [first], ..., [last]]
+[template tpl_sub[var index] [var]\[[index]\] ]
+[template tpl_sub_sub[var index1 index2] [var]\[[index1],[index2]\]]
+[template tpl_module[HEADER DESCRIPTION]
+
+[heading Header]
+[HEADER]
+
+[heading Description]
+[DESCRIPTION]
+
+]
+[template tpl_feature[HEADER DESCRIPTION SYNTAX EXAMPLE]
+
+[heading Header]
+[HEADER]
+
+[heading Description]
+[DESCRIPTION]
+
+[heading Synopsis]
+[SYNTAX]
+
+[heading Examples]
+[EXAMPLE]
+
+]
+
+[template tpl_feature_sem[HEADER DESCRIPTION SYNTAX SEMANTICS EXAMPLE]
+
+[heading Header]
+[HEADER]
+
+[heading Description]
+[DESCRIPTION]
+
+[heading Synopsis]
+[SYNTAX]
+
+[heading Semantics]
+[SEMANTICS]
+
+[heading Examples]
+[EXAMPLE]
+
+]
+
+[/Internal]
+
+[def __arg__ arg]
+[def __argn__ argn]
+[def __args__ args...]
+[def __args1__ args1...]
+[def __argsn__ argsn...]
+[def __ellipsis__ ...]
+[def __array__ ar]
+[def __array_type__ Ar]
+[def __cont__ cont]
+[def __cont_type__ C]
+[def __csv_form__ Csv form]
+[def __dev_only__ End-users may wish to skip this part. ]
+[def __describe_chain__ Chains two ranges, with particular attention to reference arrays]
+[def __describe_alt_syntax__ Alternative syntax]
+[def __describe_options__ List of options. The special case [^m = 0] means an empty list]
+[def __explicit_header__ This header has to be explicitly included]
+[def __f__ f]
+[def __f_type__ F]
+[def __functor_form__ Functor form]
+[def __fun_as_arg_list__ as_arg_list]
+[def __fun_convert__ convert]
+[def __fun_converter__ converter]
+[def __fun_constructor__ constructor]
+[def __fun_csv__ csv]
+[def __fun_csv_deque__ csv_deque]
+[def __fun_deque__ deque]
+[def __fun_new__ new_ptr]
+[def __fun_ref_array__ ref::array]
+[def __fun_ref_csv_array__ ref::csv_array]
+[def __fun_put__ put]
+[def __generate__ generate]
+[def __header_include_chain__ [@../../../../../boost/assign/v2/include/chain.hpp boost/assign/v2/include/chain.hpp]]
+[def __header_include_convert__ [@../../../../../boost/assign/v2/include/convert.hpp boost/assign/v2/include/convert.hpp]]
+[def __header_include_converter__ [@../../../../../boost/assign/v2/include/converter.hpp boost/assign/v2/include/converter.hpp]]
+[def __header_include_csv__ [@../../../../../boost/assign/v2/include/csv.hpp boost/assign/v2/include/csv.hpp]]
+[def __header_include_deque__ [@../../../../../boost/assign/v2/include/deque.hpp boost/assign/v2/include/deque.hpp]]
+[def __header_include_operator__ [@../../../../../boost/assign/v2/include/operator.hpp boost/assign/v2/include/operator.hpp]]
+[def __header_include_put__ [@../../../../../boost/assign/v2/include.hpp boost/assign/v2/include.hpp]]
+[def __header_include_ref__ [@../../../../../boost/assign/v2/include/ref.hpp boost/assign/v2/include/ref.hpp]]
+[def __header_include_pipe__ [@../../../../../boost/assign/v2/include/pipe.hpp boost/assign/v2/include/pipe.hpp]]
+[def __invoke_options__ % option1 ... % optionm]
+[def __interpreter__ interpreter]
+[def __kwd_chain__ _chain]
+[def __kwd_convert__ _convert]
+[def __kwd_csv_put__ _csv_put]
+[def __kwd_data__ _data]
+[def __kwd_fun__ _fun]
+[def __kwd_ref_get__ ref::_get]
+[def __kwd_identity__ _identity]
+[def __kwd_insert__ _insert]
+[def __kwd_iterate__ _iterate]
+[def __kwd_key__ _key]
+[def __kwd_mapped__ _mapped]
+[def __kwd_std_modifier__ _std_modifier]
+[def __kwd_nil__ _nil]
+[def __kwd_push__ _push]
+[def __kwd_push_back__ _push_back]
+[def __kwd_push_front__ _push_front]
+[def __kwd_put__ _put]
+[def __kwd_repeat__ _repeat]
+[def __link_detail__ [link boost_assign_v2.reference.detail.keyword.nil Detail]]
+[def __link_deque__ [link boost_assign_v2.reference.deque Deque]]
+[def __link_interpreter__ [link boost_assign_v2.reference.interpreter Interpreter]]
+[def __link_option__ [link boost_assign_v2.reference.option Option]]
+[def __link_put__ [link boost_assign_v2.reference.put Put]]
+[def __link_ref__ [link boost_assign_v2.reference.ref Ref]]
+[def __link_chain__ [link boost_assign_v2.reference.chain Utility.Chain]]
+[def __link_conversion__ [link boost_assign_v2.reference.conversion Conversion]]
+[def __link_csv__ [link boost_assign_v2.reference.csv Csv]]
+[def __list_options__ o1, ..., om]
+[def __option_modifier__ option-modifier]
+[def __option_arg__ '''<replaceable>option-arg</replaceable>''']
+[def __option_requirement__ Headers in directory [link boost_assign_v2.reference.option [^boost/assign/v2/option]] overload `operator%`. A header from this directory has to be included [*after] that of the object to be passed as first argument to `operator%`. ]
+[def __modulo__ `operator%`]
+[def __ns_as2__ boost::assign::v2]
+[def __object_data_generator__ data-generator]
+[def __object_interpreter__ interpreter]
+[def __object_modifier__ modifier]
+[def __option__ option]
+[def __operator_and__ `operator&&`]
+[def __pipe__ `operator|`]
+[def __pipe_form__ Pipe form]
+[def __range__ r]
+[def __range_type__ R]
+[def __ref_wrapper__ w]
+[def __ref_array__ rw]
+[def __unspecified__ '''<replaceable>unspecified</replaceable>''']
+[def __value__ t]
+[def __value_n__ [tpl_join __value__..n]]
+[def __value_type__ T]
+[def __values__ __value__...]
+
+[section:intro Introduction]
+[import ../tutorial.cpp]
+
+This library is an upgrade of __url_boost_assign_v1__ that redefines all the functionality, with optional C++0x support
+and new features. It expresses repetitive statements for assigning or inserting elements via a basic grammar:
+[tutorial_assign]
+
+Here's an overview of the features of the interpreter returned by `__fun_put__( __cont__ )`:
+
+* The functor interface exhibited above need not be restricted to unary i.e it is variadic. The arguments are internally forwarded to
+a data-member generator whose result is then passed to an appropriate modifier of `__cont__`.
+* These components are automatically deduced to ensure that [link boost_assign_v2.reference.put `__fun_put__`] works across different container categories.
+* This default behaviour can be overriden by passing composable options, via `operator%`, to the interpreter.
+* New options, which can potentially encapsulate complex semantics, can be created by [link option_modifier invoking macros] that manage the overhead.
+* Operator `|` is overloaded as a [link boost_assign_v2.reference.pipe ['piping] ] alternative to `__fun_put__` i.e. it returns the modified
+container, thereby facilitating integration with [tpl_range_algo range algorithms].
+* A variant of `__fun_put__`, [link boost_assign_v2.reference.deque `deque<>`], generates a container.
+
+Independently of `__fun_put__`, this library provides a framework, identified by namespace [link boost_assign_v2.reference.ref `ref`],
+for generating an [tpl_boost_array array] of reference wrappers, for short, a ['reference-array].
+
+Other functionality that is adjunct to either the ['put] or ['ref] frameworks are the following:
+
+* [link boost_assign_v2.reference.chain Chaining] ranges, with special consideration for those created using the ['ref] functionaltiy
+* [link boost_assign_v2.reference.conversion Conversion] from ranges to containers
+* Replacing successive unary functor [footnote Usually, `__fun_put__( __cont__ )`] calls over a sequence by a single function
+invocation, [link boost_assign_v2.reference.csv `__fun_csv__`]
+
+[endsect][/intro]
+
+[def __link_org__ [link boost_assign_v2.org Organization]]
+
+[section:org Organization]
+[include org.qbk]
+[endsect][/org]
+
+[section:tut Tutorial]
+[include tut.qbk]
+[endsect][/tut]
+
+[section:conv Conventions]
+[include conv.qbk]
+[endsect][/conv]
+
+[section:reference Reference]
+
+[section:chain Chain]
+[include chain.qbk]
+[endsect][/chain]
+
+[section:conversion Conversion]
+[include conversion.qbk]
+[endsect][/conversion]
+
+[section:csv Csv]
+[include csv.qbk]
+[endsect][/csv]
+
+[section:detail Detail]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/detail.hpp boost/assign/v2/detail/detail.hpp]
+ ..Functionality that is used by various parts of the library
+]
+
+[section:keyword Keyword]
+[include detail_keyword.qbk]
+[endsect][/keyword]
+
+[section:config Config]
+[include config.qbk]
+[endsect][/config]
+
+[endsect][/ detail]
+
+[section:include Include]
+[include include.qbk]
+[endsect]
+
+[section:interpreter Interpreter]
+[include interpreter.qbk]
+[endsect][/ interpreter]
+
+[section:deque Deque]
+[include deque.qbk]
+[endsect][/deque]
+
+[section:option Option]
+[include option.qbk]
+[endsect][/option]
+
+[section:pipe Pipe]
+[include pipe.qbk]
+[endsect][/pipe]
+
+[section:put Put]
+[include put.qbk]
+[endsect][/put]
+
+[section:ref Ref]
+[include ref.qbk]
+[endsect][/ref]
+
+[endsect][/reference]
+
+[section:apx Appendix]
+[section:perf Performance]
+[include perf.qbk]
+[endsect][/perf]
+[section:port Portability]
+[include port.qbk]
+[endsect][/port]
+[endsect][/apx]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/boostbook.css 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,538 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Use, modification and distribution is subject to 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)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 10pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 10pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 10pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 120% }
+ h5 tt.computeroutput { font-size: 110% }
+ h6 tt.computeroutput { font-size: 100% }
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+ .toc-main
+ {
+ width: 600;
+ text-align: center;
+ margin: 1pc 1pc 1pc 10%;
+ padding: 2pc 1pc 3pc 1pc;
+ line-height: 0.1;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 120%;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 10pt;
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p
+ {
+ margin: 0em 0em 0.5em 0em;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 1em 0em 1em 2em;
+ font-size: 10pt;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ font-size: 8pt;
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ /* Links */
+ a
+ {
+ color: #0C7445;
+ }
+
+ a:visited
+ {
+ color: #663974;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #E8FBE9; }
+ .dk_grey_bkd { background-color: #A0DAAC; }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #E3F9E4;
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ /* Table of contents */
+ .toc-main
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ background-color: #FAFFFB;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid #DCDCDC;
+ border-bottom: 3px solid #9D9D9D;
+ border-right: 3px solid #9D9D9D;
+ border-collapse: collapse;
+ background-color: #FAFFFB;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid #DCDCDC;
+ background-color: #FAFFFB;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/chain.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/chain.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,69 @@
+
+[heading Header]
+[@../../../../../boost/assign/v2/chain.hpp [^boost/assign/v2/chain.hpp]]
+
+[note This header does not include [^boost/assign/v2/chain/logical_and.hpp]. ]
+
+[heading Description]
+A variant of [tpl_range_join join] that caters to [link boost_assign_v2.reference.ref reference arrays]
+
+[section:chain Chain]
+
+[heading Header]
+[@../../../../../boost/assign/v2/chain/chain.hpp [^boost/assign/v2/chain/chain.hpp]]
+
+[heading Description]
+Invocation.
+
+[heading Synopsis]
+[import ../../../../boost/assign/v2/chain/chain.hpp]
+[syntax_chain_chain]
+
+[*Notation]
+
+[variablelist
+ [[`chained`][result of `r1 | __kwd_chain__( r2 )`]]
+]
+
+[*Expressions]
+
+[table
+ [[Expression][Value]]
+ [
+ [`*( i + begin( chained ) )`]
+ [`*( i < size( r1 ) ? i + begin( r1 ) : i - size( r1 ) + begin( r2 ) )` ]
+ ]
+]
+
+Although a reference array is (generally) generated in placed, its elements may be convertible to non-const lvalue references. Chaining
+preserves this property.
+
+[heading Example]
+[import ../test/chain.cpp]
+[*Example 1]
+[test_chain_read]
+[*Example 2]
+[test_chain_write]
+[*Example 3]
+[test_chain_write_refs]
+
+[endsect][/chain]
+[section:logical_and Logical_and]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/chain/logical_and.hpp [^boost/assign/v2/chain/logical_and.hpp]]
+ ..Alternative syntax.
+]
+
+[heading Semantics]
+[table
+ [ [Expression][ Description ] ]
+ [
+ [`r1 && r2`]
+ [Equivalent to `r1 | _chain( r2 )`]
+ ]
+]
+
+[endsect][/logical_and]
+
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/config.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/config.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,38 @@
+
+[tpl_module
+ [@../../../../../boost/assign/v2/detail/config/limit_arity.hpp `boost/assign/v2/detail/config/limit_arity.hpp`][br]
+ [@../../../../../boost/assign/v2/detail/config/limit_csv_arity.hpp `boost/assign/v2/detail/config/limit_csv_arity.hpp`][br]
+ [@../../../../../boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp `boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp`]
+ ..Lirary constants that affect __url_cpp03__, not __url_cpp0x__
+]
+
+
+[heading Synopsis]
+``
+ #define BOOST_ASSIGN_V2_LIMIT_ARITY __unspecified__
+ #define BOOST_ASSIGN_V2_LIMIT_CSV_ARITY __unspecified__
+ #define BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY __unspecified__
+``
+
+[heading Semantics]
+
+[table
+ [[ Constant ][ Default ][ Description ]]
+ [
+ [ `BOOST_ASSIGN_V2_LIMIT_ARITY`]
+ [`BOOST_MPL_LIMIT_METAFUNCTION_ARITY`]
+ [ A functor's max # of arguments ]
+ ]
+ [
+ [ `BOOST_ASSIGN_V2_LIMIT_CSV_ARITY`]
+ [20]
+ [ Limits a csv-function's max # of arguments]
+ ]
+ [
+ [ `BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY`]
+ [2]
+ [ A functor's max # of arguments for which any mixture of lvalue and const-lvalues is preserved
+ [footnote Beyond this limit, arguments are treated as either all lvalues or all const-lvalues.]
+ ]
+ ]
+]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/conv.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/conv.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,98 @@
+Conventions used in this documentation.
+
+[heading Namespace]
+
+* Syntax or semantics about identifier `boost::assign::v2::name` displays the latter as `name`.
+* In code snippets under header [*Example], `boost::assign::v2::name` is displayed as `as2::name`.
+
+[heading Glossary]
+
+[variablelist
+ [
+ [Container generator]
+ [A function that returns a container]
+ ]
+ [
+ [Csv form]
+ [ Syntax that takes the form of one function invocation to achieve the same side effect as successive functor invocations over its arguments]
+ ]
+ [
+ [Data generator]
+ [Internal component of an interpreter that constructs a container data-member from passed arguments ]
+ ]
+ [
+ [Functor form]
+ [ Syntax that takes the form of successive functor invocations ]
+ ]
+ [
+ [Interpreter]
+ [Object that makes the syntax for successively modifying a container to resemble a sentence]
+ ]
+ [
+ [Modifier]
+ [Internal component of an interpreter that invokes a container modifier]
+ ]
+ [
+ [Option]
+ [Object that encapsulates a command to alter the semantics of an interpreter]
+ ]
+ [
+ [Pipe]
+ [
+ Overload of `operator|` that transforms the first argument by a mapping specified by the second argument, and returns it[footnote This idiom originated in [tpl_pipe Unix] and is present in Boost.Range under the name [tpl_range_adaptor range adaptor].].
+ ]
+ ]
+ [
+ [Reference array]
+ [ Designates, in this library, an array of reference wrappers. ]
+ ]
+]
+
+[heading Notation]
+
+[variablelist
+ [
+ [`__arg__`]
+ [Some argument of unspecified type]
+ ]
+ [
+ [`__cont__`]
+ [A container]
+ ]
+ [
+ [`__cont_type__`]
+ [`__cont__`'s type]
+ ]
+ [
+ [`__range__`]
+ [A range]
+ ]
+ [
+ [`__f__`]
+ [A functor]
+ ]
+ [
+ [`__generate__`]
+ [A container generator]
+ ]
+ [
+ [`__interpreter__`]
+ [An interpreter]
+ ]
+ [
+ [`__option_modifier__`]
+ [Option to alter a modifier]
+ ]
+ [
+ [`__option__`]
+ [An option]
+ ]
+ [
+ [`__ref_array__`]
+ [A reference array]
+ ]
+ [
+ [`__value__`]
+ [A container data-member]
+ ]
+]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/conversion.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/conversion.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,79 @@
+[import ../test/conversion.cpp]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/conversion.hpp boost/assign/v2/conversion.hpp]
+ ..Range-to-container conversion
+]
+
+[section:convert Convert]
+
+[heading Header]
+[@../../../../../boost/assign/v2/conversion/convert.hpp [^boost/assign/v2/conversion/convert.hpp]]
+
+[heading Description]
+Explicit conversion.
+
+[heading Synopsis]
+[import ../../../../boost/assign/v2/conversion/convert.hpp]
+[syntax_conversion_convert]
+
+
+[heading Semantics]
+[*Expressions]
+
+`__range__ | __fun_convert__<__cont_type__>()` is defined as the switch below:
+
+[table
+ [[Case][Statement]]
+ [
+ [`__cont_type__` is either an [tpl_boost_array Array] or an [tpl_stl_adapter Adapter]]
+ [`__cont_type__ __cont__; put( __cont__ )( __fun_as_arg_list__( __range__ ) )` and returns `__cont__`]
+ ]
+ [
+ [Otherwise]
+ [`__cont_type__( begin( __range__ ), end( __range__ ) )`]
+ ]
+]
+
+[heading Example]
+[test_conversion_as2_deque_array]
+
+[endsect][/convert]
+[section:converter Converter]
+
+[heading Header]
+[@../../../../../boost/assign/v2/utility/conversion/converter.hpp boost/assign/v2/utility/conversion/converter.hpp]
+
+[heading Description]
+Implicit conversion.
+
+[heading Synopsis]
+[import ../../../../boost/assign/v2/conversion/converter.hpp]
+[syntax_conversion_converter]
+
+[heading Semantics]
+
+[*Notation]
+
+[variablelist
+ [[`c`][Instance of `__fun_converter__( __range__ )`]]
+]
+
+[*Converter]
+
+[table
+ [[Expression][Description]]
+ [
+ [`c.type<__cont_type__>()`]
+ [Calls `__range__ | __fun_convert__<__cont_type__>()`]
+ ]
+ [
+ [`__cont_type__ __cont__ = c`]
+ [Equivalent to `__cont_type__ __cont__ = c.type<__cont_type__>()`]
+ ]
+]
+
+[heading Example]
+[test_conversion_matrix3x3]
+
+[endsect][/converter]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/csv.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/csv.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,32 @@
+[heading Header]
+[@../../../../../boost/assign/v2/utility/csv.hpp [^boost/assign/v2/utility/csv.hpp]]
+
+[heading Description]
+
+Maps an arbitrary functor to the csv form.
+
+[heading Synopsis]
+[import ../../../../boost/assign/v2/csv.hpp]
+[syntax_csv]
+
+[heading Semantics]
+
+[*Notation]
+
+[variablelist
+ [[`__value__1, ..., __value_n__`][Individual elements of `args...`]]
+]
+
+[*Semantics]
+
+[table
+ [[Expression][Returns]]
+ [[`__fun_csv__( functor, args... )`][` functor( __value__1 ) ... ( __value_n__ ) `]]
+]
+
+[heading Example]
+[import ../test/csv.cpp]
+[*Example 1]
+[test_csv_put]
+[*Example 2]
+[test_csv_deque_modulo]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/deque.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/deque.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,41 @@
+[import ../test/deque.cpp]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/deque.hpp `boost/assign/v2/deque.hpp`]
+ ..Interpreter that generates a deque container.
+]
+
+[section:deque Deque]
+
+[import ../../../../boost/assign/v2/deque/deque.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/deque/deque.hpp `boost/assign/v2/deque/deque.hpp`]
+ ..__functor_form__
+ ..[syntax_deque_deque]
+ ..[*Example 1]
+ [test_deque_ints]
+ [*Example 2]
+ [test_deque_str_literal]
+ [*Example 3]
+ [test_deque_pair]
+]
+
+[endsect][/deque]
+[section:csv_deque Csv_deque]
+
+[import ../../../../boost/assign/v2/deque/csv_deque.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/deque/csv_deque.hpp `boost/assign/v2/deque/csv_deque.hpp`]
+ ..__csv_form__
+ ..[syntax_deque_csv_deque]
+ ..[*Example 1]
+ [test_csv_deque_ints]
+ [*Example 2]
+ [test_csv_deque_str_literal]
+]
+
+[/note The internal value-type is `boost::decay<__value_type__>::type` to allow for a string literal]
+
+[endsect][/csv_deque]
\ No newline at end of file
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/detail_keyword.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/detail_keyword.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,18 @@
+[import ../../../../boost/assign/v2/detail/keyword/nil.hpp]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/detail/keyword.hpp boost/assign/v2/detail/detail/keyword.hpp]
+ ..Keywords used by the rest of the library
+]
+
+[section:nil Nil]
+
+[tpl_feature
+
+ [@../../../../../boost/assign/v2/detail/keyword/nil.hpp `boost/assign/v2/detail/detail/keyword/nil.hpp`]
+ ..Type on which a function or a functor is overloaded to request an empty container
+ ..[syntax_detail_keyword_nil]
+ ..None
+]
+
+[endsect][/ nil]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/conv.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/conv.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,152 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Conventions</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="../boost_assign_v2/reference.html" title="Reference">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost_assign_v2/reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign.conv"></a><a class="link" href="conv.html" title="Conventions">Conventions</a>
+</h2></div></div></div>
+<p>
+ Conventions used in this documentation.
+ </p>
+<a name="boost_assign.conv.namespace"></a><h4>
+<a name="id36334972"></a>
+ <a class="link" href="conv.html#boost_assign.conv.namespace">Namespace</a>
+ </h4>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Syntax or semantics about identifier <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code>
+ displays the latter as <code class="computeroutput"><span class="identifier">name</span></code>.
+ </li>
+<li class="listitem">
+ In code snippets under header <span class="bold"><strong>Example</strong></span>,
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code> is displayed as <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">name</span></code>.
+ </li>
+</ul></div>
+<a name="boost_assign.conv.glossary"></a><h4>
+<a name="id36335096"></a>
+ <a class="link" href="conv.html#boost_assign.conv.glossary">Glossary</a>
+ </h4>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">Container generator</span></dt>
+<dd><p>
+ A function that returns a container
+ </p></dd>
+<dt><span class="term">Data generator</span></dt>
+<dd><p>
+ Internal component of an interpreter that constructs a data-member from
+ passed arguments
+ </p></dd>
+<dt><span class="term">Interpreter</span></dt>
+<dd><p>
+ Object that translates the syntax for repetitively modifying a container
+ into a friendlier one
+ </p></dd>
+<dt><span class="term">Modifier</span></dt>
+<dd><p>
+ Internal component of an interpreter that invokes a container modifier
+ </p></dd>
+<dt><span class="term">Option</span></dt>
+<dd><p>
+ Object that encapsulates a command to alter the semantics of an interpreter
+ </p></dd>
+<dt><span class="term">Pipe</span></dt>
+<dd><p>
+ TODO
+ </p></dd>
+<dt><span class="term">Reference array</span></dt>
+<dd><p>
+ Designates, in this library, an array of reference wrappers.
+ </p></dd>
+</dl>
+</div>
+<a name="boost_assign.conv.notation"></a><h4>
+<a name="id36335211"></a>
+ <a class="link" href="conv.html#boost_assign.conv.notation">Notation</a>
+ </h4>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">arg</code></span></dt>
+<dd><p>
+ Some argument of unspecified type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">cont</code></span></dt>
+<dd><p>
+ A container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ <code class="computeroutput">cont</code>'s type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">r</code></span></dt>
+<dd><p>
+ A range
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">f</code></span></dt>
+<dd><p>
+ A functor
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">generate</code></span></dt>
+<dd><p>
+ A container generator
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">interpreter</code></span></dt>
+<dd><p>
+ An interpreter
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">option-modifier</code></span></dt>
+<dd><p>
+ Option to alter a modifier
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">option</code></span></dt>
+<dd><p>
+ An option
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">rw</code></span></dt>
+<dd><p>
+ A reference array
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t</code></span></dt>
+<dd><p>
+ A container data-member
+ </p></dd>
+</dl>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost_assign_v2/reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/headers.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/headers.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,111 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Headers</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tutorial.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign.headers"></a><a class="link" href="headers.html" title="Headers">Headers</a>
+</h2></div></div></div>
+<p>
+ Using a given feature of this library requires no more than including the corresponding
+ header file. To find it, one can look inside either the organization by module
+ or the one by identifier.
+ </p>
+<p>
+ <span class="bold"><strong>By module</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2</code>, all but within <code class="literal">boost/assign/v2/include</code>,
+ headers and directories are organized according to the modular structure of
+ this library. The following statement includes most of the functionality <sup>[<a name="id36331578" href="#ftn.id36331578" class="footnote">2</a>]</sup>:
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>By identifier</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2/include</code>, described in section
+ <a class="link" href="../">Include</a>, headers are named after
+ a function. The following statement includes most of the functionality <sup>[<a name="id36331654" href="#ftn.id36331654" class="footnote">3</a>]</sup>:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<p>
+ Headers in directory <code class="literal">boost/assign/v2/optional</code>, equivalently
+ <code class="literal">boost/assign/v2/include/optional</code>, overload <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. A
+ header from this directory has to be included <span class="bold"><strong>after</strong></span>
+ that of the object to be passed as first argument to <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">optional</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is wrong, but
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">optional</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is right.
+ </p>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331578" href="#id36331578" class="para">2</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36331654" href="#id36331654" class="para">3</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/include.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/include.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,680 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Include</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="../boost_assign_v2/reference.html" title="Reference">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost_assign_v2/reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign.include"></a><a class="link" href="include.html" title="Include">Include</a>
+</h2></div></div></div>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Overview of directory boost/assign/v2/include,
+ which enables faster lookup of a particular feature. For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">csv_deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ is equivalent to
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">deque</span><span class="special">/</span><span class="identifier">csv_deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.include.files_in__literal__include__literal_"></a><h4>
+<a name="id36335381"></a>
+ <a class="link" href="include.html#boost_assign.include.files_in__literal__include__literal_">Files
+ in <code class="literal">/include</code></a>
+ </h4>
+<a name="include_begins_here"></a><p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">chain.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">2</span> <span class="special">|</span>
+ _chain<span class="special">(</span> r<span class="number">2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">convert.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Explicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">converter.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Implicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv<span class="special">(</span> <span class="identifier">functor</span><span class="special">,</span> t<span class="number">1</span><span class="special">,</span> <span class="special">...,</span> tn<span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Same as <code class="computeroutput"><span class="identifier">functor</span><span class="special">(</span>
+ t<span class="number">1</span> <span class="special">)</span>
+ <span class="special">...</span> <span class="special">(</span>
+ tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Csv</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_deque.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that generates a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">deque.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)</span> <span class="special">...</span>
+ <span class="special">(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that generates a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">put.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that changes the state of a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Put</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Auxiliary</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">interpreter<span class="special">(</span> as_arg_list<span class="special">(</span> r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Signals to <code class="computeroutput">interpreter</code> that each element of <code class="computeroutput">r</code>
+ is to evaluated individually
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Interpreter</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">generate<span class="special">(</span> _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates an empty container <sup>[<a name="id36336124" href="#ftn.id36336124" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Detail</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36336124" href="#id36336124" class="para">a</a>] </sup>
+ Whereas <code class="computeroutput">generate<span class="special">()</span></code>,
+ if it is valid, generates a container whose only element is default
+ constructed
+ </p></div></td></tr></tbody>
+</table></div>
+<a name="boost_assign.include.optional"></a><h4>
+<a name="id36336165"></a>
+ <a class="link" href="include.html#boost_assign.include.optional">Optional</a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="literal">fun.hpp</code>
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> <span class="special">(</span>
+ _fun <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </th>
+<th>
+ <p>
+ Replace an adapter's functor
+ </p>
+ </th>
+<th>
+ <p>
+ __link<span class="underline">fun</span>_
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="literal">modifier.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> <span class="identifier">__modifier_parameter__</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">interpreter</code>'s modifier
+ </p>
+ </td>
+<td>
+ <p>
+ __link<span class="underline">modifier</span>_
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Object <code class="computeroutput"><span class="identifier">__modifier_parameter__</span></code>
+ is generated as follows:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup><col></colgroup>
+<thead><tr><th>
+ <p>
+ Usage
+ </p>
+ </th></tr></thead>
+<tbody>
+<tr><td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_iterate <span class="special">=</span> f </code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_lookup <span class="special">=</span> f </code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_modifier <span class="special">=</span> arg</code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_push_back</code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td></tr>
+<tr><td>
+ <p>
+ <code class="computeroutput">_repeat <span class="special">=</span> <span class="identifier">n</span></code>
+ </p>
+ </td></tr>
+</tbody>
+</table></div>
+<a name="boost_assign.include._literal__include_operator__literal_"></a><h4>
+<a name="id36336497"></a>
+ <a class="link" href="include.html#boost_assign.include._literal__include_operator__literal_"><code class="literal">/include/operator</code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Operator overloads associated with a function that are optional i.e. whose
+ the headers are not included in those of the associated functions.
+ </p>
+<p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">chain.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">1</span> <span class="special">&&</span>
+ r<span class="number">2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _csv_put % option1 ... % optionm <span class="special">)(</span>
+ t<span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards parameters and arguments to <code class="computeroutput">put<span class="special">(</span>
+ cont <span class="special">)</span></code> returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_value<span class="underline">pipe</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put <span class="special">%</span> <span class="identifier">p1</span>
+ <span class="special">...</span> <span class="special">%</span>
+ <span class="identifier">pm</span> <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards parameters and arguments to <code class="computeroutput">put<span class="special">(</span>
+ cont <span class="special">)</span></code> returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_value<span class="underline">pipe</span>_
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.include._literal__include_ref__literal_"></a><h4>
+<a name="id36336862"></a>
+ <a class="link" href="include.html#boost_assign.include._literal__include_ref__literal_"><code class="literal">/include/ref</code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Functionality in namespace <code class="computeroutput"><span class="identifier">ref</span></code>.
+ </p>
+<p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">array.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">rw<span class="special">(</span> t<span class="number">1</span>
+ <span class="special">)</span> <span class="special">...</span>
+ <span class="special">(</span> tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">array</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_array.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">array</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">get.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">rw <span class="special">|</span> ref::_get </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Transforms <code class="computeroutput">rw</code> by member function <code class="computeroutput"><span class="identifier">get</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">wrapper</span>_
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost_assign_v2/reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,139 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Organization</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tutorial.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign.org"></a><a class="link" href="org.html" title="Organization">Organization</a>
+</h2></div></div></div>
+<a name="boost_assign.org.headers"></a><h4>
+<a name="id36331555"></a>
+ <a class="link" href="org.html#boost_assign.org.headers">Headers</a>
+ </h4>
+<a name="org_headers"></a><p>
+ Using a given feature of this library requires no more than including the corresponding
+ header file. To find it, one can look inside either the organization by module
+ or the one by identifier.
+ </p>
+<p>
+ <span class="bold"><strong>By module</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2</code>, all but within <code class="literal">boost/assign/v2/include</code>,
+ headers and directories are organized according to the modular structure of
+ this library. The following statement includes most of the functionality <sup>[<a name="id36331596" href="#ftn.id36331596" class="footnote">2</a>]</sup>:
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>By identifier</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2/include</code>, described in section
+ <a class="link" href="../">Include</a>, headers are named after
+ the an identifier that they define.
+ </p>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<p>
+ Headers in directory <code class="literal">boost/assign/v2/option</code> overload <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. A
+ header from this directory has to be included <span class="bold"><strong>after</strong></span>
+ that of the object to be passed as first argument to <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">option</span><span class="special">/</span><span class="identifier">data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is wrong, but
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">option</span><span class="special">/</span><span class="identifier">data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is right.
+ </p>
+<a name="boost_assign.org.namespace"></a><h4>
+<a name="id36331971"></a>
+ <a class="link" href="org.html#boost_assign.org.namespace">Namespace</a>
+ </h4>
+<a name="org_ns"></a><p>
+ All library identifiers are within <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span></code>. In
+ this documentation,
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Except for examples, an identifier <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code>
+ is displayed as <code class="computeroutput"><span class="identifier">name</span></code>.
+ </li>
+<li class="listitem">
+ In code snippets under header <span class="bold"><strong>Example</strong></span>,
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code> will be displayed as <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">name</span></code>.
+ </li>
+</ul></div>
+<a name="boost_assign.org.identifier_"></a><h4>
+<a name="id36332125"></a>
+ <a class="link" href="org.html#boost_assign.org.identifier_">Identifier </a>
+ </h4>
+<a name="org_id"></a><div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">With prefix <code class="computeroutput"><span class="identifier">_</span></code></span></dt>
+<dd><p>
+ Returns an object that is the second argument to an operator overload.
+ </p></dd>
+<dt><span class="term">With prefix <code class="computeroutput"><span class="identifier">csv</span></code></span></dt>
+<dd><p>
+ Function that translates a functor to sucessive unary invocations of
+ the latter over the parameter list
+ </p></dd>
+</dl>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331596" href="#id36331596" class="para">2</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/id.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/id.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,52 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Identifier</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../org.html" title="Organization">
+<link rel="prev" href="ns.html" title="Namespace">
+<link rel="next" href="../conv.html" title="Conventions">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ns.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../org.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../conv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign.org.id"></a><a class="link" href="id.html" title="Identifier">Identifier </a>
+</h3></div></div></div>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">Identifier with prefix <code class="computeroutput"><span class="identifier">_</span></code></span></dt>
+<dd><p>
+ Returns an object that is the second argument to an operator overload.
+ </p></dd>
+</dl>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ns.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../org.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../conv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/ns.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/org/ns.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,52 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Namespace</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../org.html" title="Organization">
+<link rel="prev" href="../org.html" title="Organization">
+<link rel="next" href="id.html" title="Identifier">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../org.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../org.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="id.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign.org.ns"></a><a class="link" href="ns.html" title="Namespace">Namespace</a>
+</h3></div></div></div>
+<p>
+ All library identifiers are within <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span></code>.
+ </p>
+<p>
+ In this documentation, except for examples, an identifier <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code> is displayed as <code class="computeroutput"><span class="identifier">name</span></code>.
+ In code snippets under header <span class="bold"><strong>Example</strong></span>,
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code>
+ will be displayed as <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">name</span></code>.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../org.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../org.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="id.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/tutorial.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign/tutorial.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,334 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Tutorial</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../boost_assign_v2/org.html" title="Organization">
+<link rel="next" href="conv.html" title="Conventions">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../boost_assign_v2/org.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign.tutorial"></a><a class="link" href="tutorial.html" title="Tutorial">Tutorial</a>
+</h2></div></div></div>
+<a name="boost_assign.tutorial.requisites"></a><h4>
+<a name="id36332202"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.requisites">Requisites</a>
+ </h4>
+<p>
+ As shown in section <a class="link" href="../boost_assign_v2/org.html" title="Organization">Organization</a>,
+ we assume in this tutorial that all the header files are included, and, in
+ addition,
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ Headers from other libraries will not be shown in the code snippets of this
+ tutorial, but they can be found in the tutorial's actual <a href="../../../tutorial.cpp" target="_top">source
+ file</a>.
+ </p>
+<a name="boost_assign.tutorial.assigning"></a><h4>
+<a name="id36332274"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.assigning">Assigning</a>
+ </h4>
+<p>
+ In the <a class="link" href="../index.html#boost_assign_v2.intro" title="Introduction">introduction</a>'s example
+ we encountered the operation which gives this library its name, assign-ment,
+ in this case, of an array's
+ elements. Throughout this library, we call <a class="link" href="../"><span class="emphasis"><em>interpreter</em></span>
+ the object returned by <a class="link" href="../"><code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code></a>.
+ In this example, it was invoked over one set of values (<code class="computeroutput"><span class="string">"+"</span></code>,
+ <code class="computeroutput"><span class="string">"-"</span></code>, etc.), each specified
+ individually, and another set passed as a range
+ with a special wrapper around it, <code class="computeroutput">as_arg_list<span class="special">(</span>
+ <span class="identifier">numeric</span> <span class="special">)</span></code>.
+ The wrapper tells the interpreter to process each of its elements as individual
+ arguments.</a>[link boost_assign_v2.reference.adapter <span class="emphasis"><em>interpreter</em></span>
+ the object returned by <a class="link" href="../"><code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code></a>.
+ In this example, it was invoked over one set of values (<code class="computeroutput"><span class="string">"+"</span></code>,
+ <code class="computeroutput"><span class="string">"-"</span></code>, etc.), each specified
+ individually, and another set passed as a range
+ with a special wrapper around it, <code class="computeroutput">as_arg_list<span class="special">(</span>
+ <span class="identifier">numeric</span> <span class="special">)</span></code>.
+ The wrapper tells the interpreter to process each of its elements as individual
+ arguments.
+ </p>
+<a name="boost_assign.tutorial.pointer_containers"></a><h4>
+<a name="id36332434"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.pointer_containers">Pointer-containers</a>
+ </h4>
+<p>
+ The same interface works similarly for pointer containers <sup>[<a name="id36332447" href="#ftn.id36332447" class="footnote">3</a>]</sup>:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">ptr_set</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="string">"isomer"</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="string">"ephemeral"</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="string">"prosaic"</span><span class="special">;</span>
+<span class="identifier">csv</span><span class="special">(</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">),</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">z</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.csv"></a><h4>
+<a name="id36332754"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.csv">Csv</a>
+ </h4>
+<p>
+ The call to <code class="computeroutput"><span class="identifier">csv</span></code> that just precedes
+ <sup>[<a name="id36332774" href="#ftn.id36332774" class="footnote">4</a>]</sup> is equivalent to <code class="computeroutput">put<span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span>
+ <span class="special">)(</span> <span class="identifier">z</span> <span class="special">)</span></code>. Similarly, where <span class="emphasis"><em>csv</em></span>
+ is the prefix of a generating function's identifier, it indicates that a unary
+ functor, whose identifier is a namesake of the suffix, is evaluated successively
+ for each of the arguments. For example, container generating function <a class="link" href="../"><code class="computeroutput"><span class="identifier">csv_deque</span></code></a>
+ is paired to <a class="link" href="../"><code class="computeroutput">deque</code></a>,
+ and <a class="link" href="../"><code class="computeroutput">ref::csv_array</code></a>
+ is paired to <a class="link" href="../"><code class="computeroutput">ref::array</code></a>.
+ </p>
+<a name="boost_assign.tutorial.piping"></a><h4>
+<a name="id36332878"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.piping">Piping</a>
+ </h4>
+<p>
+ Here, we'd like to put a set of values in a container, and in the same statement,
+ pass it through a mutating algorithm:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">stable_partition</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">|</span> <span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">),</span> <span class="identifier">_1</span> <span class="special">%</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ It is the vertical bar, <code class="computeroutput"><span class="special">|</span></code>, which
+ expresses the on-the-fly modification we were looking for. Such an expression
+ is referred to as <a class="link" href="../"><span class="emphasis"><em>piping</em></span></a>
+ throughout this library, after the related idiom
+ by the same name <sup>[<a name="id36333230" href="#ftn.id36333230" class="footnote">5</a>]</sup>. What it does is equivalent to invoking <code class="computeroutput"><span class="identifier">csv</span><span class="special">(</span> put<span class="special">(</span> cont <span class="special">),</span> <span class="number">0</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span>
+ <span class="number">4</span><span class="special">,</span> <span class="number">5</span>
+ <span class="special">)</span></code> but, in addition, returns <code class="computeroutput">cont</code>.
+ </p>
+<a name="boost_assign.tutorial.container_generation"></a><h4>
+<a name="id36333330"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.container_generation">Container generation</a>
+ </h4>
+<p>
+ Having, in the same statement, assigned <code class="computeroutput"><span class="identifier">cont</span></code>
+ and passed it through a <a href="http://www.boost.org/doc/libs/1_46_0/libs/range/doc/html/range/reference/algorithms/mutating/stable_partition.html" target="_top">stable
+ partition algorithm</a>, let's verify that what was intended matches the
+ state of the container:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.reference_arrays"></a><h4>
+<a name="id36333477"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.reference_arrays">Reference arrays</a>
+ </h4>
+<p>
+ There are two other container generating functions, <a class="link" href="../"><code class="computeroutput">ref::array</code></a>,
+ and <a class="link" href="../"><code class="computeroutput">ref::csv_array</code></a>.
+ The returned container is, more specifically, an array of reference wrappers,
+ which we designate as <span class="emphasis"><em>reference array</em></span> in this library.
+ In the example that precedes, either could be substituted for <code class="computeroutput">csv_deque</code>.
+ The reciprocal is not true, in general. A reference array is preferable if
+ the values are expensive to copy, and necessary for working specifically with
+ references, such as as follows:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">4</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">6</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">max</span> <span class="special">=</span> <span class="special">*</span><span class="identifier">max_element</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="special">&</span><span class="identifier">max</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">y</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.chaining"></a><h4>
+<a name="id36333722"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.chaining">Chaining</a>
+ </h4>
+<p>
+ Chaining ranges is already provided as join
in Boost.
+ Here's a variant that caters in special way to reference arrays:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span cla
ss="identifier">i</span><span class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">consecutive5</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">seven</span> <span class="special">==</span> <span class="number">7</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The odd thing to notice is that this algorithm modifies <code class="computeroutput"><span class="identifier">six</span></code>,
+ <code class="computeroutput"><span class="identifier">seven</span></code> and <code class="computeroutput"><span class="identifier">eight</span></code>
+ even though the array returned by <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span></code>
+ is an rvalue. The keyword <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span></code> is
+ necessary in conjunction with a reference array whose references are to be
+ modified (in read mode, instead, implicit conversion takes care of it).
+ </p>
+<a name="boost_assign.tutorial.conversion"></a><h4>
+<a name="id36334371"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.conversion">Conversion</a>
+ </h4>
+<p>
+ Even a not so standard container, such as a <a href="http://flylib.com/books/en/2.674.1.106/1/" target="_top">container
+ adapter</a>, can be copy constructed from a container of the same type.
+ Combining a container generating function with a conversion tool gives us the
+ recipe, therefore, for initializing such (and more versatile) containers:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span> <span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The conversion, here, is implicit, and is made possible by a conversion operator
+ fitted to the object returned by <code class="computeroutput">converter</code>. See the relevant
+ <a class="link" href="../">section</a>
+ about explicit conversion.
+ </p>
+<a name="boost_assign.tutorial.data_member_generation"></a><h4>
+<a name="id36334587"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.data_member_generation">Data-member generation</a>
+ </h4>
+<p>
+ The capabalities of <code class="computeroutput">put</code> and <code class="computeroutput">deque</code> vs their csv counterparts
+ become apparent when we need to forward arguments to the <code class="computeroutput">cont</code>'s
+ value-type. For example,
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">map</span><span class="special">;</span>
+<span class="identifier">put</span><span class="special">(</span> <span class="identifier">map</span> <span class="special">)(</span> <span class="string">"foo"</span><span class="special">,</span> <span class="number">1</span> <span class="special">)(</span> <span class="string">"bar"</span><span class="special">,</span> <span class="number">2</span> <span class="special">)(</span> <span class="string">"baz"</span><span class="special">,</span> <span class="number">3</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">map</span><span class="special">[</span><span class="string">"bar"</span><span class="special">]</span> <span class="special">=</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.automatic_deduction"></a><h4>
+<a name="id36334797"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.automatic_deduction">Automatic deduction</a>
+ </h4>
+<p>
+ We have seen that <code class="computeroutput">put</code> was applied to different containers, whether
+ arrays,
+ Associative
+ containers, etc. This follows from an internal mechanism that deduces from
+ the container's type appropriate
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Data-generation
+ </li>
+<li class="listitem">
+ Modifier
+ </li>
+</ul></div>
+<a name="boost_assign.tutorial.options"></a><h4>
+<a name="id36334848"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.options">Options</a>
+ </h4>
+<p>
+ Either of the implementation components just mentioned can be overriden. Operator
+ <code class="computeroutput"><span class="special">%</span></code> is reserved for this kind of
+ task and can be composed. The relevant section is <a class="link" href="../">Optional</a>.
+ </p>
+<p>
+ In addition to the <a class="link" href="../">standard
+ modifiers</a> such as <a class="link" href="../"><code class="computeroutput">_push_back</code></a>,
+ the library caters to more complex needs e.g. [tutorial_optional]
+ </p>
+<a name="boost_assign.tutorial.custom_options"></a><h4>
+<a name="id36334897"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.custom_options">Custom options</a>
+ </h4>
+<p>
+ <a class="link" href="../">Extending</a>
+ the library with new modifiers is fairly easy. We briefly summarize how:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Create a class template, called a <span class="emphasis"><em>tag</em></span>, that identifies
+ the new class of modifiers. The template parameter specifies a variable
+ aspect of the implementation.
+ </li>
+<li class="listitem">
+ Specialize a particular <a class="link" href="../">class
+ template</a> on <span class="emphasis"><em>tag</em></span>, with the desired implementation,
+ within the constraints of a concept.
+ </li>
+<li class="listitem">
+ Tell the library to register the above by expanding two macros taking as
+ input the desired parameter name and some meta-information.
+ </li>
+</ul></div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36332447" href="#id36332447" class="para">3</a>] </sup>
+ One exception is <code class="computeroutput"><span class="identifier">ptr_map</span><span class="special"><></span></code> whose implementation is pending
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36332774" href="#id36332774" class="para">4</a>] </sup>
+ <span class="emphasis"><em>csv</em></span> stands for comma separated values
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36333230" href="#id36333230" class="para">5</a>] </sup>
+ Also see <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Boost.Range
+ </a>'s version
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../boost_assign_v2/org.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/Functions.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/Functions.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,436 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>& Keywords</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="all_ex.html" title="Examples">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="all_ex.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.Functions"></a><a class="link" href="Functions.html" title="& Keywords">& Keywords</a>
+</h2></div></div></div>
+<a name="boost_assign_v2.Functions.functions"></a><h4>
+<a name="id36331812"></a>
+ <a class="link" href="Functions.html#boost_assign_v2.Functions.functions">Functions</a>
+ </h4>
+<p>
+ <span class="bold"><strong>Identifiers</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">convert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Utility.Convert
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Utility.Converter
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Deque
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Deque
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Ref.Array
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Ref.Array
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.Functions.keywords"></a><h4>
+<a name="id36332014"></a>
+ <a class="link" href="Functions.html#boost_assign_v2.Functions.keywords">Keywords</a>
+ </h4>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ A keyword is an identifier with prefix <code class="computeroutput"><span class="identifier">_</span></code>.
+ Invoking it usually returns an object used as part of some operator overalod.
+ </p>
+<p>
+ <span class="bold"><strong><code class="computeroutput"><span class="keyword">operator</span><span class="special">()</span></code></strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Overload
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">__kwd_as_arg_list__</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Utility.Chain
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_nil</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keyword
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong><code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code></strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Overload
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_iterate</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_lookup</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_modifier</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_repeat</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Modifier
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong><code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code></strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_chain</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Utility.Chain
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_convert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">_convert</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">_converter</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_csv_put</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Pipe
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::_get</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Ref.Wrapper
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_put</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Put.Pipe
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="all_ex.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/all_ex.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/all_ex.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,223 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Examples</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="detail.html" title="Detail">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.all_ex"></a><a class="link" href="all_ex.html" title="Examples">Examples</a>
+</h2></div></div></div>
+<p>
+ The names of the examples, below, evoke either the value-type of a container
+ (e.g. bitset), a task (e.g push_front) etc.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+<th>
+ <p>
+ Examples
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/deque.html" title="Deque">Put.Deque</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/deque.html#ex_put_deque">Integers, String literals</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/fun.html" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/fun.html#ex_put_fun">Math, Recursive</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html#ex_put_modifier_iterate">Shifted</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html#ex_put_modifier_lookup">Map</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html#ex_put_modifier_push_front">Push_front</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html#ex_put_modifier_repeat">Simple, Compose</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/pipe.html" title="Pipe">Put.Pipe</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/pipe.html#ex_put_pipe">String literals, Concatenation, Push_front</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="put/put.html" title="Put">Put.Put</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/put.html#ex_put_put">Bitset, Variant, Ragged array, STL, Tuple</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="ref/array.html#boost_assign_v2.ref.array.array" title="Array">Ref.Array.Array</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref/array.html#ex_ref_array_array">Read, Write, Assign</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="ref/array.html#boost_assign_v2.ref.array.array" title="Array">Ref.Array.Csv_array</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref/array.html#ex_ref_array_csv_array">Read, Write, Assign</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">Utility.Chain</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility.html#ex_utility_chain">Read, Write, Write-to-refs</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html#boost_assign_v2.utility.conversion.convert" title="Convert">Utility.Conversion.Convert</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html#ex_utility_conversion_convert">Deque-to-array</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html#boost_assign_v2.utility.conversion.converter" title="Converter">Utility.Conversion.Converter</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html#ex_utility_conversion_converter">Matrix3x3</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,392 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Appendix</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="reference/ref.html" title="Ref">
+<link rel="next" href="apx/port.html" title="Portability">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="reference/ref.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="apx/port.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.apx"></a><a class="link" href="apx.html" title="Appendix">Appendix</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Performance</span></dt>
+<dt><span class="section">Portability</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.perf"></a><a class="link" href="apx.html#boost_assign_v2.apx.perf" title="Performance">Performance</a>
+</h3></div></div></div>
+<p>
+ <span class="bold"><strong>Machine</strong></span> Mac OS
+ </p>
+<p>
+ <span class="bold"><strong>Compiler</strong></span> GNU C++ version 4.4.1
+ </p>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">T</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="literal">n</code></span></dt>
+<dd><p>
+ Controls inner number of loops
+ </p></dd>
+<dt><span class="term"><code class="literal">k</code></span></dt>
+<dd><p>
+ Control outer number of loops
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code></span></dt>
+<dd><p>
+ List of arguments, each of type T and max size 1000
+ </p></dd>
+<dt><span class="term"><code class="literal">var</code></span></dt>
+<dd><p>
+ Time to eval some method over <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code> <code class="literal">n</code> times
+ </p></dd>
+<dt><span class="term"><code class="literal">var_scaled</code></span></dt>
+<dd><p>
+ <code class="literal">1000 * var</code>
+ </p></dd>
+<dt><span class="term"><code class="literal">m</code></span></dt>
+<dd><p>
+ Size of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"><code class="literal">min</code></span></dt>
+<dd><p>
+ Max value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">average</code></span></dt>
+<dd><p>
+ Average value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">max</code></span></dt>
+<dd><p>
+ Max value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">cumulated</code></span></dt>
+<dd><p>
+ Cumulative value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Methods</strong></span>
+ </p>
+<div class="table">
+<a name="boost_assign.apx.perf.assign"></a><p class="title"><b>Table 1.1. Assign</b></p>
+<div class="table-contents"><table class="table" summary="Assign">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Method
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ stl_push_back
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">);</span>
+ <span class="special">...;</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">argm</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v1_push_back
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">)(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_put
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">)(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_pipe_csv_put
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span> <span class="special">|</span>
+ <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="boost_assign.apx.perf.generate"></a><p class="title"><b>Table 1.2. Generate</b></p>
+<div class="table-contents"><table class="table" summary="Generate">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Method
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ v1_list_of
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">list_of</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_deque
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_csv_deque
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v1_cref_list_of
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">cref_list_of</span><span class="special"><</span><span class="identifier">m</span><span class="special">>(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_ref_array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_ref_csv_array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><p>
+ <span class="bold"><strong>Results</strong></span>
+</p>
+<pre class="programlisting"><span class="special">{</span><span class="identifier">k</span><span class="special">,</span> <span class="identifier">n</span><span class="special">,</span> <span class="identifier">m</span><span class="special">}</span>
+<span class="special">{</span><span class="identifier">method</span><span class="special">,</span> <span class="identifier">min</span><span class="special">,</span> <span class="identifier">average</span><span class="special">,</span> <span class="identifier">max</span><span class="special">,</span> <span class="identifier">cumulative</span><span class="special">}</span>
+
+<span class="special">{</span><span class="number">12800</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.014</span><span class="special">,</span> <span class="number">0.027</span><span class="special">,</span> <span class="number">178.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.031</span><span class="special">,</span> <span class="number">0.034</span><span class="special">,</span> <span class="number">0.050</span><span class="special">,</span> <span class="number">430.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.015</span><span class="special">,</span> <span class="number">0.023</span><span class="special">,</span> <span class="number">194.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.015</span><span class="special">,</span> <span class="number">0.019</span><span class="special">,</span> <span class="number">191.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.122</span><span class="special">,</span> <span class="number">0.125</span><span class="special">,</span> <span class="number">0.153</span><span class="special">,</span> <span class="number">1601.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.102</span><span class="special">,</span> <span class="number">0.105</span><span class="special">,</span> <span class="number">0.127</span><span class="special">,</span> <span class="number">1341.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.042</span><span class="special">,</span> <span class="number">0.045</span><span class="special">,</span> <span class="number">0.057</span><span class="special">,</span> <span class="number">581.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">17.7</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">0.007</span><span class="special">,</span> <span class="number">47.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">17.8</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">6400</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.034</span><span class="special">,</span> <span class="number">0.036</span><span class="special">,</span> <span class="number">0.045</span><span class="special">,</span> <span class="number">229.7</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.080</span><span class="special">,</span> <span class="number">0.085</span><span class="special">,</span> <span class="number">0.104</span><span class="special">,</span> <span class="number">541.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.035</span><span class="special">,</span> <span class="number">0.037</span><span class="special">,</span> <span class="number">0.046</span><span class="special">,</span> <span class="number">237.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.035</span><span class="special">,</span> <span class="number">0.037</span><span class="special">,</span> <span class="number">0.044</span><span class="special">,</span> <span class="number">235.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.180</span><span class="special">,</span> <span class="number">0.187</span><span class="special">,</span> <span class="number">0.223</span><span class="special">,</span> <span class="number">1194.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.142</span><span class="special">,</span> <span class="number">0.145</span><span class="special">,</span> <span class="number">0.174</span><span class="special">,</span> <span class="number">930.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.075</span><span class="special">,</span> <span class="number">0.079</span><span class="special">,</span> <span class="number">0.094</span><span class="special">,</span> <span class="number">503.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">9.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.006</span><span class="special">,</span> <span class="number">0.017</span><span class="special">,</span> <span class="number">40.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">11.2</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">3200</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.093</span><span class="special">,</span> <span class="number">0.097</span><span class="special">,</span> <span class="number">0.117</span><span class="special">,</span> <span class="number">311.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.244</span><span class="special">,</span> <span class="number">0.251</span><span class="special">,</span> <span class="number">0.296</span><span class="special">,</span> <span class="number">804.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.097</span><span class="special">,</span> <span class="number">0.100</span><span class="special">,</span> <span class="number">0.115</span><span class="special">,</span> <span class="number">321.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.097</span><span class="special">,</span> <span class="number">0.101</span><span class="special">,</span> <span class="number">0.125</span><span class="special">,</span> <span class="number">324.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.345</span><span class="special">,</span> <span class="number">0.353</span><span class="special">,</span> <span class="number">0.432</span><span class="special">,</span> <span class="number">1128.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.214</span><span class="special">,</span> <span class="number">0.219</span><span class="special">,</span> <span class="number">0.266</span><span class="special">,</span> <span class="number">699.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.142</span><span class="special">,</span> <span class="number">0.147</span><span class="special">,</span> <span class="number">0.175</span><span class="special">,</span> <span class="number">469.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.006</span><span class="special">,</span> <span class="number">4.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.012</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.018</span><span class="special">,</span> <span class="number">42.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.006</span><span class="special">,</span> <span class="number">7.3</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">1600</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.286</span><span class="special">,</span> <span class="number">0.292</span><span class="special">,</span> <span class="number">0.317</span><span class="special">,</span> <span class="number">467.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.531</span><span class="special">,</span> <span class="number">0.540</span><span class="special">,</span> <span class="number">0.674</span><span class="special">,</span> <span class="number">863.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.288</span><span class="special">,</span> <span class="number">0.295</span><span class="special">,</span> <span class="number">0.472</span><span class="special">,</span> <span class="number">471.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.293</span><span class="special">,</span> <span class="number">0.298</span><span class="special">,</span> <span class="number">0.340</span><span class="special">,</span> <span class="number">477.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.620</span><span class="special">,</span> <span class="number">0.627</span><span class="special">,</span> <span class="number">0.715</span><span class="special">,</span> <span class="number">1003.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.400</span><span class="special">,</span> <span class="number">0.407</span><span class="special">,</span> <span class="number">0.460</span><span class="special">,</span> <span class="number">651.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.321</span><span class="special">,</span> <span class="number">0.328</span><span class="special">,</span> <span class="number">0.381</span><span class="special">,</span> <span class="number">525.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">2.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.038</span><span class="special">,</span> <span class="number">0.040</span><span class="special">,</span> <span class="number">0.043</span><span class="special">,</span> <span class="number">64.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">5.3</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">800</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">16</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.659</span><span class="special">,</span> <span class="number">0.666</span><span class="special">,</span> <span class="number">0.773</span><span class="special">,</span> <span class="number">533.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">1.145</span><span class="special">,</span> <span class="number">1.163</span><span class="special">,</span> <span class="number">1.327</span><span class="special">,</span> <span class="number">930.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.683</span><span class="special">,</span> <span class="number">0.691</span><span class="special">,</span> <span class="number">0.742</span><span class="special">,</span> <span class="number">552.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.685</span><span class="special">,</span> <span class="number">0.694</span><span class="special">,</span> <span class="number">0.742</span><span class="special">,</span> <span class="number">555.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">1.274</span><span class="special">,</span> <span class="number">1.285</span><span class="special">,</span> <span class="number">1.339</span><span class="special">,</span> <span class="number">1027.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.809</span><span class="special">,</span> <span class="number">0.828</span><span class="special">,</span> <span class="number">0.910</span><span class="special">,</span> <span class="number">662.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.729</span><span class="special">,</span> <span class="number">0.746</span><span class="special">,</span> <span class="number">0.837</span><span class="special">,</span> <span class="number">596.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">1.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.120</span><span class="special">,</span> <span class="number">0.122</span><span class="special">,</span> <span class="number">0.147</span><span class="special">,</span> <span class="number">97.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.009</span><span class="special">,</span> <span class="number">4.2</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">400</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">32</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">1.263</span><span class="special">,</span> <span class="number">1.277</span><span class="special">,</span> <span class="number">1.355</span><span class="special">,</span> <span class="number">510.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">2.328</span><span class="special">,</span> <span class="number">2.346</span><span class="special">,</span> <span class="number">2.467</span><span class="special">,</span> <span class="number">938.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">1.291</span><span class="special">,</span> <span class="number">1.312</span><span class="special">,</span> <span class="number">1.422</span><span class="special">,</span> <span class="number">524.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">1.321</span><span class="special">,</span> <span class="number">1.339</span><span class="special">,</span> <span class="number">1.431</span><span class="special">,</span> <span class="number">535.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">2.393</span><span class="special">,</span> <span class="number">2.410</span><span class="special">,</span> <span class="number">2.529</span><span class="special">,</span> <span class="number">964.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">1.406</span><span class="special">,</span> <span class="number">1.424</span><span class="special">,</span> <span class="number">1.524</span><span class="special">,</span> <span class="number">569.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">1.346</span><span class="special">,</span> <span class="number">1.361</span><span class="special">,</span> <span class="number">1.433</span><span class="special">,</span> <span class="number">544.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.006</span><span class="special">,</span> <span class="number">0.007</span><span class="special">,</span> <span class="number">2.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.497</span><span class="special">,</span> <span class="number">0.509</span><span class="special">,</span> <span class="number">0.559</span><span class="special">,</span> <span class="number">203.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.026</span><span class="special">,</span> <span class="number">0.027</span><span class="special">,</span> <span class="number">0.030</span><span class="special">,</span> <span class="number">10.9</span><span class="special">}</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="reference/ref.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="apx/port.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/arity.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/arity.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,185 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Configuring arity</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="../apx.html" title="Appendix">
+<link rel="next" href="run_eff.html" title="Runtime efficiency">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="run_eff.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.arity"></a><a class="link" href="arity.html" title="Configuring arity">Configuring arity</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.apx.arity.header"></a><h5>
+<a name="id36346902"></a>
+ <a class="link" href="arity.html#boost_assign_v2.apx.arity.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header has to be explicitly included
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.apx.arity.synopsis"></a><h5>
+<a name="id36346995"></a>
+ <a class="link" href="arity.html#boost_assign_v2.apx.arity.synopsis">Synopsis</a>
+ </h5>
+<p>
+ Below are overridable constants's identifier, default value, and the <a class="link" href="../conv/index.html" title="Index">index</a> that they control.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default value
+ </p>
+ </th>
+<th>
+ <p>
+ Index
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ n
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.apx.arity.comments"></a><h5>
+<a name="id36347189"></a>
+ <a class="link" href="arity.html#boost_assign_v2.apx.arity.comments">Comments</a>
+ </h5>
+<p>
+ The first constant is the limit arity for
+</p>
+<pre class="programlisting">_csv_put<span class="special">(</span> t<span class="special">[</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]);</span>
+</pre>
+<p>
+ and other <span class="emphasis"><em>csv</em></span> functions. The second and third constants
+ apply only to the functor form:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">_put<span class="special">(</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span>k<span class="special">[</span><span class="number">0</span><span class="special">]-</span><span class="number">1</span><span class="special">]</span> <span class="special">)...(</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span>k<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]-</span><span class="number">1</spa
n><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The second constant is the limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code> under which any combination of lvalue and
+ rvalue arguments is preserved, for any given <code class="computeroutput">i</code> in <code class="computeroutput"><span class="special">[</span><span class="number">0</span><span class="special">,...,</span>n<span class="special">)</span></code>. Beyond this limit, arguments are treated
+ as either all lvalues or all const-lvalues. The third constant is the total
+ limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code>.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="run_eff.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/bibl.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/bibl.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,64 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Bibliography</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="hist.html" title="History and acknowledgement">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="hist.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.bibl"></a><a class="link" href="bibl.html" title="Bibliography">Bibliography</a>
+</h3></div></div></div>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Scott. Meyers, "More Effective C++", Item 7, Addison Wesley,
+ 1996
+ </li>
+<li class="listitem">
+ K. Czarnecki and U.W. Eisenecker, "Generative programming",
+ Addison-Wesley, 2000
+ </li>
+<li class="listitem">
+ Blitz
+ </li>
+<li class="listitem">
+ Gabriel Dos Reis and Bjarne Stroustrup, <a href="http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1509.pdf" target="_top">Generalized
+ Initializer Lists</a>, 2003
+ </li>
+<li class="listitem">
+ Abrahams, David and Gurtovoy, Aleksey, <a href="http://portal.acm.org/citation.cfm?id=1044941#" target="_top">C++
+ Template Metaprogramming</a>: Concepts, Tools, and Techniques from
+ Boost and Beyond (C++ in Depth Series), 2004, Addison-Wesley Professional.
+ </li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="hist.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/change_log.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/change_log.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,188 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Change log</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="portability.html" title="Portability">
+<link rel="next" href="help.html" title="Help">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="portability.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="help.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.change_log"></a><a class="link" href="change_log.html" title="Change log">Change log</a>
+</h3></div></div></div>
+<div class="toc"><dl><dt><span class="section"><a href="change_log.html#boost_assign_v2.apx.change_log.v2">[Proposal for] Upgrading
+ from Boost v1.4x : Boost.Assign 2.0</a></span></dt></dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.apx.change_log.v2"></a><a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2" title="[Proposal for] Upgrading from Boost v1.4x : Boost.Assign 2.0">[Proposal for] Upgrading
+ from Boost v1.4x : Boost.Assign 2.0</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.apx.change_log.v2.organization"></a><h6>
+<a name="id36347867"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2.organization">Organization</a>
+ </h6>
+<p>
+ To form an impression about the upgrade, please read section <a class="link" href="../qs.html" title="Quickstart">Quick
+ start</a>. To compare (non-exhaustively) the two versions, see section
+ <a class="link" href="run_eff.html" title="Runtime efficiency">Runtime efficiency</a>.
+ Note that the two verions' interface don't clash, even though they serve
+ a very similar purpose.
+ </p>
+<a name="boost_assign_v2.apx.change_log.v2.ref_framework"></a><h6>
+<a name="id36347904"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2.ref_framework">Ref-framework</a>
+ </h6>
+<p>
+ A revision to the generating function <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special"><>()</span></code> and the addition of a tool for
+ <a class="link" href="../util/chain.html" title="_chain">chaining</a> were the subject
+ of a mini-review,
+ and carry through to Boost.Assign 2.0.
+ </p>
+<a name="change_log_chain"></a><p>
+ The first of these proposed changes was to eliminate the size template
+ parameter of <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special"><>()</span></code>, as it is redundant with the
+ number of arguments. It also fitted the returned container with boost::array<>'s
+ richer functionality. Finally, a type of function, termed <span class="emphasis"><em>csv</em></span>,
+ was introduced, as a more elegant alternative (but not a replacement) to
+ multiple calls to a functor. The second feature, chaining, served as an
+ alternative to a container-of-references' member function <code class="computeroutput"><span class="identifier">range</span><span class="special">()</span></code>.
+ </p>
+<p>
+ Since the mini-review,
+ the proposal has been further improved. For instance, the dual interface,
+ <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special">()</span></code>
+ and <code class="computeroutput"><span class="identifier">cref_list_of</span><span class="special">()</span></code>
+ is replaced by a single function, <a class="link" href="../ref/ar.html#boost_assign_v2.ref.ar.array" title="array"><code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">()</span></code></a>,
+ that resolves lvalue/const-ness automatically, and likewise for chaining.
+ Also, the latter now preserves the lvalue-ness of the chained ranges' elements.
+ See the relevant <a class="link" href="../util/chain.html" title="_chain">section</a>.
+ </p>
+<a name="boost_assign_v2.apx.change_log.v2.miscellanea"></a><h6>
+<a name="id36348078"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2.miscellanea">Miscellanea</a>
+ </h6>
+<p>
+ During the same mini-review,
+ it became apparent that the existing and proposed features lacked homogeneity
+ in their interface, and that the relevance of the proposed one was insufficiently
+ outlined in the documentation. Conversely, some newly introduced features,
+ such as the already mentioned <span class="emphasis"><em>csv</em></span> functions, had received
+ enough interest to warrant their generalization throughout the rest of
+ the library. Boost.Assign 2.0 adresses
+ these requests with a completly revised interface.
+ </p>
+<p>
+ Another consensus was the request for exploiting C++0x's
+ features. In Boost.Assign 2.0, functions
+ are variadic and preserve the lvalue/const-ness of their arguments. Under
+ C++03, these
+ aspects are controlled by <a class="link" href="arity.html" title="Configuring arity">overridable
+ constants</a> (macros).
+ </p>
+<p>
+ Some confusion was voiced as to whether a nullary call to some container
+ generator, <code class="computeroutput">f<span class="special">()</span></code>, is supposed
+ to return a container that is empty or one that contains a default constructed
+ value. The latter is the actual convention in <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a> and carries through to <a href="../.././index.html" target="_top">Boost.Assign
+ 2.0</a>, but a keyword, <a class="link" href="../apx.html#boost_assign_v2.apx.nil" title="_nil">_nil
+ </a>, is to be used to request an empty container.
+ </p>
+<a name="boost_assign_v2.apx.change_log.v2.put_framework"></a><h6>
+<a name="id36348181"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2.put_framework">Put-framework</a>
+ </h6>
+<p>
+ The inception of this framework began after the mini-review.
+ </p>
+<p>
+ A central feature of the interface is <a class="link" href="../put/pipe.html" title="operator|()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">|()</span></code></a>,
+ which emulates range-adaptors.
+ The key to efficiency is to hold arguments on the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code>
+ as references, a spillover from the work done in the <a class="link" href="../ref.html" title="Ref">ref-framework</a>.
+ The other major addition is <a class="link" href="../put/modulo.html" title="operator%()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code></a>,
+ for selectively overriding the default implementation.
+ </p>
+<p>
+ In terms of code-reuse, while <code class="computeroutput"><span class="identifier">list_of</span><span class="special">()</span></code> and the <span class="emphasis"><em>list inserters</em></span>
+ (e.g. <code class="computeroutput"><span class="identifier">push_back</span><span class="special">()</span></code>)
+ are, under <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, independently implemented, their counterparts, under Boost.Assign 2.0, <a class="link" href="../put/deque.html" title="Deque"><code class="computeroutput"><span class="identifier">deque</span><span class="special">()</span></code></a><sup>[<a name="id36348331" href="#ftn.id36348331" class="footnote">4</a>]</sup> and <a class="link" href="../put.html" title="Put"><code class="computeroutput">_put</code></a>,
+ respectively, derive from a common crtp
+ <code class="computeroutput"><span class="keyword">class</span></code>. Thanks to this integrated
+ approach, containers such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><></span></code> or <a href="http://www.boost.org/doc/libs/release/libs/ptr_container/doc/ptr_container.html" target="_top">pointer
+ containers</a> fit into the framework without the need for (major)
+ adjustments. The library is open to customization, a task that is facilitated
+ by macros. See <a class="link" href="../put/modulo.html#boost_assign_v2.put.modulo.modifier.std.custom" title="Customization">here</a>
+ and <a class="link" href="../put/modulo.html#boost_assign_v2.put.modulo.modifier.ext.custom" title="Customization">here</a>.
+ </p>
+<p>
+ Finally member function <code class="computeroutput"><span class="identifier">range</span><span class="special"><>()</span></code>, in <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, is replaced, in Boost.Assign 2.0,
+ by in conjunction with <code class="computeroutput"><span class="keyword">operator</span><span class="special">|()</span></code> <a class="link" href="../put/pipe.html#boost_assign_v2.put.pipe.range" title="put_range"><code class="computeroutput"><span class="identifier">put_range</span><span class="special">()</span></code></a>.
+ </p>
+<a name="boost_assign_v2.apx.change_log.v2.utility"></a><h6>
+<a name="id36348546"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.apx.change_log.v2.utility">Utility</a>
+ </h6>
+<p>
+ This <a class="link" href="../util.html" title="Utility">section</a> of <a href="../.././index.html" target="_top">Boost.Assign
+ 2.0</a> extends the library's core with functionality that surrounds
+ containers or ranges. Whereas this used to be embedded in the objects returned
+ by in <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, it is in in Boost.Assign 2.0
+ supplied by free-functions, which perhaps improves modularity and ease
+ of maintenance.
+ </p>
+<p>
+ Relational operators, for example, are simply relagated to boost::iterator_range<>
+ via a convenience function <a class="link" href="../util/sub_range.html" title="sub_range"><code class="computeroutput"><span class="identifier">sub_range</span><span class="special">()</span></code></a>.
+ </p>
+<p>
+ Member functions <code class="computeroutput"><span class="identifier">to_array</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">to_adapter</span><span class="special">()</span></code>, and <code class="computeroutput"><span class="identifier">to_container</span><span class="special">()</span></code>, and the implicit conversion operator,
+ in <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, are captured, in Boost.Assign 2.0,
+ by the free-function <a class="link" href="../util.html#boost_assign_v2.util.convert" title="converter"><code class="computeroutput"><span class="identifier">converter</span><span class="special">()</span></code></a>.
+ </p>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36348331" href="#id36348331" class="para">4</a>] </sup>
+ The analog <a href="../../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>'s <code class="computeroutput"><span class="identifier">list_of</span><span class="special">()</span></code> is, in <a href="../.././index.html" target="_top">Boost.Assign
+ 2.0</a>, renamed <code class="computeroutput"><span class="identifier">deque</span><span class="special">()</span></code>. This is because <code class="computeroutput"><span class="identifier">list_of</span></code>
+ evokes a particular data-structure (forward traversal) that is different
+ from the actual underlying one, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><></span></code> (random access).
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="portability.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="help.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/help.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/help.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,49 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Help</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="change_log.html" title="Change log">
+<link rel="next" href="hist.html" title="History and acknowledgement">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.help"></a><a class="link" href="help.html" title="Help">Help</a>
+</h3></div></div></div>
+<p>
+ To get help or make a suggestion, post to the <a href="http://www.boost.org/community/groups.html#users" target="_top">Boost
+ Users Mailing List</a>, but also make sure to notify TO
+ and <a href="mailto:erDOTciDOT2020ATgmailDOTcom" target="_top">ER</a> by cc-ing
+ them.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/hist.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/hist.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,92 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>History and acknowledgement</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="help.html" title="Help">
+<link rel="next" href="bibl.html" title="Bibliography">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="help.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bibl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.hist"></a><a class="link" href="hist.html" title="History and acknowledgement">History and acknowledgement</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.apx.hist.boost_assign_1_0"></a><h5>
+<a name="id36348766"></a>
+ <a class="link" href="hist.html#boost_assign_v2.apx.hist.boost_assign_1_0">Boost.Assign 1.0</a>
+ </h5>
+<p>
+ The idea for an assignment/initialization library is not new. The functionality
+ of this library resembles Leor Zolman's STL Container Initialization Library
+ a great deal, but it does not rely on string parsing to achieve its goals.
+ </p>
+<p>
+ Special thanks go to
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Leor Zolman for our many discussion that eventually led to this library.
+ </li>
+<li class="listitem">
+ Tom Brinkman for being review manager.
+ </li>
+<li class="listitem">
+ Joaquín Muñoz for vc6/vc7 portability.
+ </li>
+<li class="listitem">
+ Pavel Vozenilek for his countless suggestions, improvements and portability
+ fixes.
+ </li>
+<li class="listitem">
+ Rene Rivera for Code Warrior portability.
+ </li>
+</ul></div>
+<a name="boost_assign_v2.apx.hist.boost_assign_2_0_"></a><h5>
+<a name="id36348834"></a>
+ <a class="link" href="hist.html#boost_assign_v2.apx.hist.boost_assign_2_0_">Boost.Assign 2.0
+ </a>
+ </h5>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Manuel Peinado Gallego identified the need for a (revised) <a class="link" href="../ref.html" title="Ref">ref-framework</a>,
+ and provided valuable advice throughout the early development of Boost.Assign
+ 2.0, such as proposing a design
+ that laid the foundation for <a class="link" href="../util/chain.html" title="_chain">chaining</a>.
+ </li>
+<li class="listitem">
+ TO
+ and John Bytheway have shaped this new version of the library and its
+ documentation, through their feedback as review managers of mini-review,
+ and the main review, respectively.
+ </li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="help.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bibl.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/perf.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/perf.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,404 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Performance</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="../apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.perf"></a><a class="link" href="perf.html" title="Performance">Performance</a>
+</h3></div></div></div>
+<p>
+ <span class="bold"><strong>Machine</strong></span> Mac OS
+ </p>
+<p>
+ <span class="bold"><strong>Compiler</strong></span> GNU C++ version 4.4.1
+ </p>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">T</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="literal">n</code></span></dt>
+<dd><p>
+ Controls inner number of loops
+ </p></dd>
+<dt><span class="term"><code class="literal">k</code></span></dt>
+<dd><p>
+ Control outer number of loops
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code></span></dt>
+<dd><p>
+ List of arguments, each of type T and max size 1000
+ </p></dd>
+<dt><span class="term"><code class="literal">var</code></span></dt>
+<dd><p>
+ Time to eval some method over <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code> <code class="literal">n</code> times
+ </p></dd>
+<dt><span class="term"><code class="literal">var_scaled</code></span></dt>
+<dd><p>
+ <code class="literal">1000 * var</code>
+ </p></dd>
+<dt><span class="term"><code class="literal">m</code></span></dt>
+<dd><p>
+ Size of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"><code class="literal">min</code></span></dt>
+<dd><p>
+ Max value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">average</code></span></dt>
+<dd><p>
+ Average value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">max</code></span></dt>
+<dd><p>
+ Max value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+<dt><span class="term"><code class="literal">cumulated</code></span></dt>
+<dd><p>
+ Cumulative value of <code class="literal">var_scaled</code>, over <code class="literal">k</code>
+ repetitions
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Methods</strong></span>
+ </p>
+<div class="table">
+<a name="boost_assign_v2.apx.perf.assign"></a><p class="title"><b>Table 1.1. Assign</b></p>
+<div class="table-contents"><table class="table" summary="Assign">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Method
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ stl_push_back
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">);</span>
+ <span class="special">...;</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">argm</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v1_push_back
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">)(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_put
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">)(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_pipe_put
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span> <span class="special">|</span>
+ <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">_put</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_pipe_csv_put
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span> <span class="special">|</span>
+ <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="boost_assign_v2.apx.perf.generate"></a><p class="title"><b>Table 1.2. Generate</b></p>
+<div class="table-contents"><table class="table" summary="Generate">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Method
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ v1_list_of
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">list_of</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_deque
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_csv_deque
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v1_cref_list_of
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">cref_list_of</span><span class="special"><</span><span class="identifier">m</span><span class="special">>(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_ref_array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span>
+ <span class="identifier">arg1</span> <span class="special">)...(</span>
+ <span class="identifier">argm</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ v2_ref_csv_array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><p>
+ <span class="bold"><strong>Results</strong></span>
+</p>
+<pre class="programlisting"><span class="special">{</span><span class="identifier">k</span><span class="special">,</span> <span class="identifier">n</span><span class="special">,</span> <span class="identifier">m</span><span class="special">}</span>
+<span class="special">{</span><span class="identifier">method</span><span class="special">,</span> <span class="identifier">min</span><span class="special">,</span> <span class="identifier">average</span><span class="special">,</span> <span class="identifier">max</span><span class="special">,</span> <span class="identifier">cumulative</span><span class="special">}</span>
+
+<span class="special">{</span>
+<span class="special">{</span><span class="number">12800</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.012</span><span class="special">,</span> <span class="number">0.014</span><span class="special">,</span> <span class="number">0.037</span><span class="special">,</span> <span class="number">174.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.030</span><span class="special">,</span> <span class="number">0.033</span><span class="special">,</span> <span class="number">0.066</span><span class="special">,</span> <span class="number">418.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.014</span><span class="special">,</span> <span class="number">0.026</span><span class="special">,</span> <span class="number">185.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.015</span><span class="special">,</span> <span class="number">0.028</span><span class="special">,</span> <span class="number">188.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.015</span><span class="special">,</span> <span class="number">0.042</span><span class="special">,</span> <span class="number">186.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.118</span><span class="special">,</span> <span class="number">0.123</span><span class="special">,</span> <span class="number">0.164</span><span class="special">,</span> <span class="number">1572.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.100</span><span class="special">,</span> <span class="number">0.103</span><span class="special">,</span> <span class="number">0.119</span><span class="special">,</span> <span class="number">1321.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.040</span><span class="special">,</span> <span class="number">0.043</span><span class="special">,</span> <span class="number">0.048</span><span class="special">,</span> <span class="number">544.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">17.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">37.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">17.5</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">6400</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.032</span><span class="special">,</span> <span class="number">0.033</span><span class="special">,</span> <span class="number">0.039</span><span class="special">,</span> <span class="number">213.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.077</span><span class="special">,</span> <span class="number">0.081</span><span class="special">,</span> <span class="number">0.098</span><span class="special">,</span> <span class="number">517.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.033</span><span class="special">,</span> <span class="number">0.035</span><span class="special">,</span> <span class="number">0.047</span><span class="special">,</span> <span class="number">222.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">0.033</span><span class="special">,</span> <span class="number">0.035</span><span class="special">,</span> <span class="number">0.042</span><span class="special">,</span> <span class="number">221.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.033</span><span class="special">,</span> <span class="number">0.035</span><span class="special">,</span> <span class="number">0.041</span><span class="special">,</span> <span class="number">222.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.174</span><span class="special">,</span> <span class="number">0.178</span><span class="special">,</span> <span class="number">0.203</span><span class="special">,</span> <span class="number">1138.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.135</span><span class="special">,</span> <span class="number">0.137</span><span class="special">,</span> <span class="number">0.157</span><span class="special">,</span> <span class="number">878.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.073</span><span class="special">,</span> <span class="number">0.076</span><span class="special">,</span> <span class="number">0.095</span><span class="special">,</span> <span class="number">489.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">8.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">0.007</span><span class="special">,</span> <span class="number">22.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">11.4</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">3200</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.091</span><span class="special">,</span> <span class="number">0.095</span><span class="special">,</span> <span class="number">0.109</span><span class="special">,</span> <span class="number">302.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.231</span><span class="special">,</span> <span class="number">0.242</span><span class="special">,</span> <span class="number">0.279</span><span class="special">,</span> <span class="number">775.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.099</span><span class="special">,</span> <span class="number">0.105</span><span class="special">,</span> <span class="number">0.138</span><span class="special">,</span> <span class="number">334.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">0.097</span><span class="special">,</span> <span class="number">0.101</span><span class="special">,</span> <span class="number">0.136</span><span class="special">,</span> <span class="number">324.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.105</span><span class="special">,</span> <span class="number">0.108</span><span class="special">,</span> <span class="number">0.117</span><span class="special">,</span> <span class="number">346.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.321</span><span class="special">,</span> <span class="number">0.330</span><span class="special">,</span> <span class="number">0.371</span><span class="special">,</span> <span class="number">1054.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.208</span><span class="special">,</span> <span class="number">0.214</span><span class="special">,</span> <span class="number">0.234</span><span class="special">,</span> <span class="number">683.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.138</span><span class="special">,</span> <span class="number">0.144</span><span class="special">,</span> <span class="number">0.154</span><span class="special">,</span> <span class="number">461.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">4.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.017</span><span class="special">,</span> <span class="number">16.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.010</span><span class="special">,</span> <span class="number">7.1</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">1600</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.281</span><span class="special">,</span> <span class="number">0.286</span><span class="special">,</span> <span class="number">0.425</span><span class="special">,</span> <span class="number">457.7</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">0.518</span><span class="special">,</span> <span class="number">0.526</span><span class="special">,</span> <span class="number">0.556</span><span class="special">,</span> <span class="number">841.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.285</span><span class="special">,</span> <span class="number">0.290</span><span class="special">,</span> <span class="number">0.318</span><span class="special">,</span> <span class="number">463.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">0.287</span><span class="special">,</span> <span class="number">0.293</span><span class="special">,</span> <span class="number">0.317</span><span class="special">,</span> <span class="number">469.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.287</span><span class="special">,</span> <span class="number">0.292</span><span class="special">,</span> <span class="number">0.317</span><span class="special">,</span> <span class="number">467.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">0.608</span><span class="special">,</span> <span class="number">0.615</span><span class="special">,</span> <span class="number">0.657</span><span class="special">,</span> <span class="number">984.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.395</span><span class="special">,</span> <span class="number">0.399</span><span class="special">,</span> <span class="number">0.456</span><span class="special">,</span> <span class="number">638.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.324</span><span class="special">,</span> <span class="number">0.329</span><span class="special">,</span> <span class="number">0.350</span><span class="special">,</span> <span class="number">525.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">2.3</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.007</span><span class="special">,</span> <span class="number">0.008</span><span class="special">,</span> <span class="number">0.010</span><span class="special">,</span> <span class="number">13.5</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">0.003</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">5.4</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">800</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">16</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">0.645</span><span class="special">,</span> <span class="number">0.651</span><span class="special">,</span> <span class="number">0.704</span><span class="special">,</span> <span class="number">521.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">1.120</span><span class="special">,</span> <span class="number">1.134</span><span class="special">,</span> <span class="number">1.226</span><span class="special">,</span> <span class="number">906.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">0.668</span><span class="special">,</span> <span class="number">0.675</span><span class="special">,</span> <span class="number">0.716</span><span class="special">,</span> <span class="number">540.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">0.674</span><span class="special">,</span> <span class="number">0.684</span><span class="special">,</span> <span class="number">0.737</span><span class="special">,</span> <span class="number">547.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">0.671</span><span class="special">,</span> <span class="number">0.677</span><span class="special">,</span> <span class="number">0.716</span><span class="special">,</span> <span class="number">541.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">1.247</span><span class="special">,</span> <span class="number">1.255</span><span class="special">,</span> <span class="number">1.330</span><span class="special">,</span> <span class="number">1004.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">0.779</span><span class="special">,</span> <span class="number">0.785</span><span class="special">,</span> <span class="number">0.831</span><span class="special">,</span> <span class="number">627.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">0.722</span><span class="special">,</span> <span class="number">0.729</span><span class="special">,</span> <span class="number">0.764</span><span class="special">,</span> <span class="number">583.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.000</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.002</span><span class="special">,</span> <span class="number">1.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.016</span><span class="special">,</span> <span class="number">0.017</span><span class="special">,</span> <span class="number">0.031</span><span class="special">,</span> <span class="number">13.8</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.008</span><span class="special">,</span> <span class="number">4.1</span><span class="special">}</span>
+<span class="special">}</span>
+<span class="special">{</span>
+<span class="special">{</span><span class="number">400</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">32</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">stl_push_back</span><span class="special">,</span> <span class="number">1.236</span><span class="special">,</span> <span class="number">1.245</span><span class="special">,</span> <span class="number">1.301</span><span class="special">,</span> <span class="number">498.1</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_push_back</span><span class="special">,</span> <span class="number">2.273</span><span class="special">,</span> <span class="number">2.283</span><span class="special">,</span> <span class="number">2.355</span><span class="special">,</span> <span class="number">913.4</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_put</span><span class="special">,</span> <span class="number">1.267</span><span class="special">,</span> <span class="number">1.280</span><span class="special">,</span> <span class="number">1.333</span><span class="special">,</span> <span class="number">512.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_put</span><span class="special">,</span> <span class="number">1.307</span><span class="special">,</span> <span class="number">1.318</span><span class="special">,</span> <span class="number">1.382</span><span class="special">,</span> <span class="number">527.2</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_pipe_csv_put</span><span class="special">,</span> <span class="number">1.279</span><span class="special">,</span> <span class="number">1.287</span><span class="special">,</span> <span class="number">1.335</span><span class="special">,</span> <span class="number">515.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_list_of</span><span class="special">,</span> <span class="number">2.344</span><span class="special">,</span> <span class="number">2.357</span><span class="special">,</span> <span class="number">2.447</span><span class="special">,</span> <span class="number">942.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_deque</span><span class="special">,</span> <span class="number">1.393</span><span class="special">,</span> <span class="number">1.402</span><span class="special">,</span> <span class="number">1.476</span><span class="special">,</span> <span class="number">560.6</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_csv_deque</span><span class="special">,</span> <span class="number">1.316</span><span class="special">,</span> <span class="number">1.323</span><span class="special">,</span> <span class="number">1.404</span><span class="special">,</span> <span class="number">529.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v1_cref_list_of</span><span class="special">,</span> <span class="number">0.004</span><span class="special">,</span> <span class="number">0.005</span><span class="special">,</span> <span class="number">0.006</span><span class="special">,</span> <span class="number">2.0</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_array</span><span class="special">,</span> <span class="number">0.046</span><span class="special">,</span> <span class="number">0.047</span><span class="special">,</span> <span class="number">0.056</span><span class="special">,</span> <span class="number">18.9</span><span class="special">},</span>
+<span class="special">{</span><span class="identifier">v2_ref_csv_array</span><span class="special">,</span> <span class="number">0.012</span><span class="special">,</span> <span class="number">0.013</span><span class="special">,</span> <span class="number">0.016</span><span class="special">,</span> <span class="number">5.1</span><span class="special">}</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/port.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/port.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,330 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Portability</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="../apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.port"></a><a class="link" href="port.html" title="Portability">Portability</a>
+</h3></div></div></div>
+<p>
+ Here is the test suite.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ OS
+ </p>
+ </th>
+<th>
+ <p>
+ Compiler
+ </p>
+ </th>
+<th>
+ <p>
+ Option(s)
+ </p>
+ </th>
+<th>
+ <p>
+ Boost
+ </p>
+ </th>
+<th>
+ <p>
+ Test
+ </p>
+ </th>
+<th>
+ <p>
+ Boost.Assign 2.0
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.0
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r70547</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.2
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r70547</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Unix ( Fink )
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r70547</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Unix ( Fink )
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ <p>
+ C++0x
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r70547</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ <p>
+ C++0x
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://software.intel.com/en-us/articles/intel-compilers/" target="_top">Intel
+ (R) C++ Compiler XE 12.0</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.45</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/windowsxp/pro/default.mspx" target="_top">Windows
+ XP </a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/express/Downloads/#2010-Visual-CPP" target="_top">MSVC
+ 10.0</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">v1.46</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">r70547</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../apx.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/portability.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/portability.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,212 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Portability</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="run_eff.html" title="Runtime efficiency">
+<link rel="next" href="change_log.html" title="Change log">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="run_eff.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="change_log.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.portability"></a><a class="link" href="portability.html" title="Portability">Portability</a>
+</h3></div></div></div>
+<p>
+ Here is the test suite.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ OS
+ </p>
+ </th>
+<th>
+ <p>
+ Compiler
+ </p>
+ </th>
+<th>
+ <p>
+ Option(s)
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="literal"> boost-trunk
</code>
+ <br> revision #
+ </p>
+ </th>
+<th>
+ <p>
+ Outcome
+ </p>
+ </th>
+<th>
+ <p>
+ Boost.Assign 2.0 <br> revision #
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ gcc4.2
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ OK
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">68362</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc4.4
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ OK
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">68362</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc4.4
+ </p>
+ </td>
+<td>
+ <p>
+ C++0x
+ </p>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+<td>
+ <p>
+ OK
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">68362</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/windowsxp/pro/default.mspx" target="_top">Windows
+ XP </a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/express/Downloads/#2010-Visual-CPP" target="_top">MSVC
+ 10.0</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="run_eff.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="change_log.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/run_eff.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/apx/run_eff.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,46 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Runtime efficiency</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../apx.html" title="Appendix">
+<link rel="prev" href="arity.html" title="Configuring arity">
+<link rel="next" href="portability.html" title="Portability">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="arity.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="portability.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.apx.run_eff"></a><a class="link" href="run_eff.html" title="Runtime efficiency">Runtime efficiency</a>
+</h3></div></div></div>
+<p>
+ Find here runtime efficiency data.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="arity.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../apx.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="portability.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/arity.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/arity.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,185 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Configuring arity</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="nil.html" title="_nil">
+<link rel="next" href="apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="nil.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="apx.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.arity"></a><a class="link" href="arity.html" title="Configuring arity">Configuring arity</a>
+</h2></div></div></div>
+<a name="boost_assign_v2.arity.header"></a><h4>
+<a name="id36345985"></a>
+ <a class="link" href="arity.html#boost_assign_v2.arity.header">Header</a>
+ </h4>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header has to be explicitly included
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.arity.synopsis"></a><h4>
+<a name="id36346078"></a>
+ <a class="link" href="arity.html#boost_assign_v2.arity.synopsis">Synopsis</a>
+ </h4>
+<p>
+ Below are overridable constants's identifier, default value, and the <a class="link" href="conv/index.html" title="Index">index</a> that they control.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default value
+ </p>
+ </th>
+<th>
+ <p>
+ Index
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ n
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.arity.comments"></a><h4>
+<a name="id36346271"></a>
+ <a class="link" href="arity.html#boost_assign_v2.arity.comments">Comments</a>
+ </h4>
+<p>
+ The first constant is the limit arity for
+</p>
+<pre class="programlisting">_csv_put<span class="special">(</span> t<span class="special">[</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]);</span>
+</pre>
+<p>
+ and other <span class="emphasis"><em>csv</em></span> functions. The second and third constants
+ apply only to the functor form:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">_put<span class="special">(</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span>k<span class="special">[</span><span class="number">0</span><span class="special">]-</span><span class="number">1</span><span class="special">]</span> <span class="special">)...(</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span>k<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]-</span><span class="number">1</spa
n><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The second constant is the limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code> under which any combination of lvalue and
+ rvalue arguments is preserved, for any given <code class="computeroutput">i</code> in <code class="computeroutput"><span class="special">[</span><span class="number">0</span><span class="special">,...,</span>n<span class="special">)</span></code>. Beyond this limit, arguments are treated
+ as either all lvalues or all const-lvalues. The third constant is the total
+ limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code>.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="nil.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="apx.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/bibl.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/bibl.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,64 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Bibliography</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="hist.html" title="History and acknowledgement">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="hist.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.bibl"></a><a class="link" href="bibl.html" title="Bibliography">Bibliography</a>
+</h2></div></div></div>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Scott. Meyers, "More Effective C++", Item 7, Addison Wesley,
+ 1996
+ </li>
+<li class="listitem">
+ K. Czarnecki and U.W. Eisenecker, "Generative programming", Addison-Wesley,
+ 2000
+ </li>
+<li class="listitem">
+ Blitz
+ </li>
+<li class="listitem">
+ Gabriel Dos Reis and Bjarne Stroustrup, <a href="http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1509.pdf" target="_top">Generalized
+ Initializer Lists</a>, 2003
+ </li>
+<li class="listitem">
+ Abrahams, David and Gurtovoy, Aleksey, <a href="http://portal.acm.org/citation.cfm?id=1044941#" target="_top">C++
+ Template Metaprogramming</a>: Concepts, Tools, and Techniques from
+ Boost and Beyond (C++ in Depth Series), 2004, Addison-Wesley Professional.
+ </li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="hist.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/chain.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/chain.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,146 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Adaptor _chain</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="ref/array.html" title="array">
+<link rel="next" href="arity.html" title="Configuring arity">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.chain"></a><a class="link" href="chain.html" title="Adaptor _chain">Adaptor <code class="computeroutput">_chain</code></a>
+</h2></div></div></div>
+<a name="boost_assign_v2.chain.header"></a><h4>
+<a name="id36342224"></a>
+ <a class="link" href="chain.html#boost_assign_v2.chain.header">Header</a>
+ </h4>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.chain.description"></a><h4>
+<a name="id36342269"></a>
+ <a class="link" href="chain.html#boost_assign_v2.chain.description">Description</a>
+ </h4>
+<p>
+ Adaptor <code class="computeroutput"><span class="identifier">_chain</span></code> is an outgrowth
+ of a similar functionality that appeared in the beta version of Boost.RangeEx
+ that maps two ranges into their union, and is composable.
+ </p>
+<p>
+ It also has the special property that it is lvalue preserving : two chained
+ ranges, either of which is passed as an rvalue, but both of which hold lvalues,
+ is a range whose references are lvalues. Such an instance occurs if the rvalue
+ is n <a class="link" href="ref.html" title="Ref">reference-array</a> of lvalues.
+ </p>
+<a name="boost_assign_v2.chain.synopsis"></a><h4>
+<a name="id36342318"></a>
+ <a class="link" href="chain.html#boost_assign_v2.chain.synopsis">Synopsis</a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">|</span> _chain<span class="special">(</span>
+ r2 <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span>R1<span class="special">,</span>R2<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.chain.example"></a><h4>
+<a name="id36342443"></a>
+ <a class="link" href="chain.html#boost_assign_v2.chain.example">Example</a>
+ </h4>
+<p>
+ In access mode,
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">(</span> <span class="number">2</span> <span class="special">);</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">vec</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span>
+<span class="comment">// outputs 0, 1, 2, 3, 4
+</span></pre>
+<p>
+ </p>
+<p>
+ In write mode, thanks to the lvalue preserving property:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">x</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">y</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="number">3</span><span class="special">,</span> <span class="identifier">x</span><span class="special">),</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="comment">/* lvalue */</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">y</span> <span class="comment">/* lvalue */</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="comment">/* rvalue */</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/change_log.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/change_log.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,192 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Change log</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="portability.html" title="Portability">
+<link rel="next" href="support.html" title="Support">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="portability.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="support.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.change_log"></a><a class="link" href="change_log.html" title="Change log">Change log</a>
+</h2></div></div></div>
+<div class="toc"><dl><dt><span class="section"><a href="change_log.html#boost_assign_v2.change_log.v2">[Proposal for] Upgrading
+ from Boost v1.4x : Boost.Assign 2.0</a></span></dt></dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.change_log.v2"></a><a class="link" href="change_log.html#boost_assign_v2.change_log.v2" title="[Proposal for] Upgrading from Boost v1.4x : Boost.Assign 2.0">[Proposal for] Upgrading
+ from Boost v1.4x : Boost.Assign 2.0</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.change_log.v2.organization"></a><h5>
+<a name="id36371089"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.change_log.v2.organization">Organization</a>
+ </h5>
+<p>
+ To form an impression about the upgrade, please read section <a class="link" href="../index.html#boost_assign_v2.intro" title="Introduction">Introduction</a>.
+ To compare (non-exhaustively) the last version and the upgrade, see section
+ <a class="link" href="../">Runtime efficiency</a>. Note that
+ the two verions' interface don't clash, even though they serve a very similar
+ purpose.
+ </p>
+<a name="boost_assign_v2.change_log.v2.ref_framework"></a><h5>
+<a name="id36371127"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.change_log.v2.ref_framework">Ref-framework</a>
+ </h5>
+<p>
+ A revision to the generating function <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special"><>()</span></code> and the addition of a tool for
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">chaining</a> were the subject
+ of a mini-review,
+ and they carry through to Boost.Assign 2.0.
+ </p>
+<p>
+ The first of these proposed changes was to eliminate the size template parameter
+ of <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special"><>()</span></code>,
+ as it is redundant with the number of arguments. It also fitted the returned
+ container with boost::array<>'s
+ richer functionality. Finally, a type of function, termed <span class="emphasis"><em>csv</em></span>,
+ was introduced, as a more elegant alternative (but not a replacement) to
+ multiple calls to a functor. The second feature, chaining, was initially
+ aimed as an alternative to a container-of-references' member function <code class="computeroutput"><span class="identifier">range</span><span class="special">()</span></code>.
+ </p>
+<p>
+ Since the mini-review,
+ the proposal has been further improved. For instance, the dual interface,
+ <code class="computeroutput"><span class="identifier">ref_list_of</span><span class="special">()</span></code>
+ and <code class="computeroutput"><span class="identifier">cref_list_of</span><span class="special">()</span></code>
+ is replaced by a single function, <a class="link" href="ref/array.html#boost_assign_v2.ref.array.functor" title="Functor"><code class="computeroutput">ref::array<span class="special">()</span></code></a>, that resolves lvalue/const-ness
+ automatically, and likewise for <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">chaining</a>.
+ Also, the latter now preserves the lvalue-ness of the chained ranges' elements,
+ as becomes relevant in conjunction if either of the input ranges is returned
+ by <a class="link" href="ref/array.html#boost_assign_v2.ref.array.functor" title="Functor"><code class="computeroutput">ref::array<span class="special">()</span></code></a>.
+ </p>
+<a name="boost_assign_v2.change_log.v2.miscellanea"></a><h5>
+<a name="id36371301"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.change_log.v2.miscellanea">Miscellanea</a>
+ </h5>
+<p>
+ During the same mini-review,
+ it became apparent that the existing and proposed features lacked homogeneity
+ in their interface, and that the relevance of the proposed one was insufficiently
+ outlined in the documentation. Conversely, some newly introduced features,
+ such as the already mentioned <span class="emphasis"><em>csv</em></span> functions, had received
+ enough interest to warrant their generalization throughout the rest of the
+ library. Boost.Assign 2.0 adresses these
+ requests with a completly revised interface.
+ </p>
+<p>
+ Another consensus was the request for exploiting C++0x's
+ features. In Boost.Assign 2.0, functions
+ are variadic. Front end functions' typically declare <code class="computeroutput"><span class="identifier">T</span><span class="special">&&</span></code> arguments and forward to back-end
+ function using <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>.
+ Under C++03,
+ these aspects are emulated, to some degrees that are controled by <a class="link" href="detail/config.html" title="Config">overridable
+ constants</a> (macros). Back-end functions are overloaded, in C++0x,
+ on whether an argument is lvalue and rvalue, respectively. In the latter
+ case, <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">move</span></code> is used, wherever it is appropriate.
+ </p>
+<p>
+ Some confusion was voiced as to whether a nullary call to some container
+ generator, <code class="computeroutput">f<span class="special">()</span></code>, is supposed
+ to return a container that is empty or one that contains a default constructed
+ value. The latter is the actual convention in <a href="../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a> and carries through to <a href=".././index.html" target="_top">Boost.Assign
+ 2.0</a>, but a keyword, <a class="link" href="detail/keyword.html#boost_assign_v2.detail.keyword.nil" title="Nil">_nil
+ </a>, is to be used to request an empty container.
+ </p>
+<a name="boost_assign_v2.change_log.v2.put_framework"></a><h5>
+<a name="id36371474"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.change_log.v2.put_framework">Put-framework</a>
+ </h5>
+<p>
+ The inception of this framework began after the mini-review.
+ </p>
+<p>
+ A new feature of the interface is the ability to modify a container in place
+ through <a class="link" href="put/pipe.html" title="Pipe">piping</a>. The key to
+ efficiency, here, is to hold arguments on the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code>
+ as references, a spillover from the work done in the <a class="link" href="ref.html" title="Ref">ref-framework</a>.
+ The other major addition is <a class="link" href="put/modulo.html" title="Modulo"><code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code></a>,
+ for selectively overriding the default implementation.
+ </p>
+<p>
+ In terms of code-reuse, while <code class="computeroutput"><span class="identifier">list_of</span><span class="special">()</span></code> and the <span class="emphasis"><em>list inserters</em></span>
+ (e.g. <code class="computeroutput"><span class="identifier">push_back</span><span class="special">()</span></code>)
+ are, under <a href="../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, independently implemented, their counterparts, under Boost.Assign 2.0, <a class="link" href="put/deque.html" title="Deque"><code class="computeroutput"><span class="identifier">deque</span><span class="special">()</span></code></a><sup>[<a name="id36371607" href="#ftn.id36371607" class="footnote">1</a>]</sup> and <a class="link" href="put.html" title="Put"><code class="computeroutput">_put</code></a>,
+ respectively, share a common <a class="link" href="put.html#boost_assign_v2.put.frame" title="Frame">framework</a>.
+ Thanks to this integrated approach, containers such as <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><></span></code>
+ fit in seamlessly into the framewor. The library is open to customization,
+ a task that is facilitated by <a class="link" href="put/modulo.html#ext_macro">macros</a>.
+ </p>
+<p>
+ Finally member function <code class="computeroutput"><span class="identifier">range</span><span class="special"><>()</span></code>, in <a href="../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, is replaced, in Boost.Assign 2.0,
+ by a free-function <a class="link" href="put/cont.html#boost_assign_v2.put.cont.range" title="Range"><code class="computeroutput"><span class="identifier">put_range</span><span class="special">()</span></code></a>.
+ </p>
+<a name="boost_assign_v2.change_log.v2.utility"></a><h5>
+<a name="id36371789"></a>
+ <a class="link" href="change_log.html#boost_assign_v2.change_log.v2.utility">Utility</a>
+ </h5>
+<p>
+ This <a class="link" href="utility.html" title="Utility">section</a> of <a href=".././index.html" target="_top">Boost.Assign
+ 2.0</a> extends the library's core with functionality that surrounds
+ containers or ranges. Whereas this used to be embedded in the objects returned
+ by in <a href="../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>, it is in in Boost.Assign 2.0
+ supplied by free-functions, which perhaps improves modularity and ease of
+ maintenance.
+ </p>
+<p>
+ Relational operators, were dropped as we thought that this could be better
+ supplied by an idenpendent library (e.g. make_iterator_range()
).
+ </p>
+<p>
+ Member functions <code class="computeroutput"><span class="identifier">to_array</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">to_adapter</span><span class="special">()</span></code>, and <code class="computeroutput"><span class="identifier">to_container</span><span class="special">()</span></code>, and the implicit conversion operator,
+ in Boost.Assign 1.0,
+ are captured, in Boost.Assign 2.0, by a
+ unique free-function <a class="link" href="utility/convert.html#boost_assign_v2.utility.convert.converter" title="Converter"><code class="computeroutput"><span class="identifier">converter</span><span class="special">()</span></code></a>.
+ </p>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36371607" href="#id36371607" class="para">1</a>] </sup>
+ The analog <a href="../../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a>'s <code class="computeroutput"><span class="identifier">list_of</span><span class="special">()</span></code>
+ is, in Boost.Assign 2.0, renamed <code class="computeroutput"><span class="identifier">deque</span><span class="special">()</span></code>.
+ This is because <code class="computeroutput"><span class="identifier">list_of</span></code>
+ evokes a particular data-structure (forward traversal) that is different
+ from the actual underlying one, std::deque<>
+ (random access).
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="portability.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="support.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,116 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Common</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="util/sub_range.html" title="sub_range">
+<link rel="next" href="common/arity.html" title="Configuring arity">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="util/sub_range.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="common/arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.common"></a><a class="link" href="common.html" title="Common">Common</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">_nil
</span></dt>
+<dt><span class="section">Configuring arity</span></dt>
+</dl></div>
+<p>
+ This section contains functionality that is pervasive across and supports the
+ other frameworks.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.common.nil"></a><a class="link" href="common.html#boost_assign_v2.common.nil" title="_nil"><code class="computeroutput">_nil</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.common.nil.header"></a><h5>
+<a name="id36345802"></a>
+ <a class="link" href="common.html#boost_assign_v2.common.nil.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword/nil.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.common.nil.synopsis"></a><h5>
+<a name="id36345849"></a>
+ <a class="link" href="common.html#boost_assign_v2.common.nil.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_nil</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>implementation-defined</code></em></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.common.nil.description"></a><h5>
+<a name="id36345930"></a>
+ <a class="link" href="common.html#boost_assign_v2.common.nil.description">Description</a>
+ </h5>
+<p>
+ If <code class="computeroutput">f</code> designates some container generating function, <code class="computeroutput">f<span class="special">(</span> _nil <span class="special">)</span></code> requests
+ that the returned container be empty. <sup>[<a name="id36345967" href="#ftn.id36345967" class="footnote">3</a>]</sup>
+ </p>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36345967" href="#id36345967" class="para">3</a>] </sup>
+ In particular, <code class="computeroutput">f<span class="special">()</span></code> usually
+ returns a container of size one, whose element is default initialized.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="util/sub_range.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="common/arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common/arity.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/common/arity.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,185 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Configuring arity</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../common.html" title="Common">
+<link rel="prev" href="../common.html" title="Common">
+<link rel="next" href="../apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../common.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../common.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.common.arity"></a><a class="link" href="arity.html" title="Configuring arity">Configuring arity</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.common.arity.header"></a><h5>
+<a name="id36346007"></a>
+ <a class="link" href="arity.html#boost_assign_v2.common.arity.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp<span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header has to be explicitly included
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.common.arity.synopsis"></a><h5>
+<a name="id36346101"></a>
+ <a class="link" href="arity.html#boost_assign_v2.common.arity.synopsis">Synopsis</a>
+ </h5>
+<p>
+ Below are overridable constants's identifier, default value, and the <a class="link" href="../conv/index.html" title="Index">index</a> that they control.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default value
+ </p>
+ </th>
+<th>
+ <p>
+ Index
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ n
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ k
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.common.arity.comments"></a><h5>
+<a name="id36346295"></a>
+ <a class="link" href="arity.html#boost_assign_v2.common.arity.comments">Comments</a>
+ </h5>
+<p>
+ The first constant is the limit arity for
+</p>
+<pre class="programlisting">_csv_put<span class="special">(</span> t<span class="special">[</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]);</span>
+</pre>
+<p>
+ and other <span class="emphasis"><em>csv</em></span> functions. The second and third constants
+ apply only to the functor form:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting">_put<span class="special">(</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span><span class="number">0</span><span class="special">][</span>k<span class="special">[</span><span class="number">0</span><span class="special">]-</span><span class="number">1</span><span class="special">]</span> <span class="special">)...(</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span> arg<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">][</span>k<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]-</span><span class="number">1</spa
n><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The second constant is the limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code> under which any combination of lvalue and
+ rvalue arguments is preserved, for any given <code class="computeroutput">i</code> in <code class="computeroutput"><span class="special">[</span><span class="number">0</span><span class="special">,...,</span>n<span class="special">)</span></code>. Beyond this limit, arguments are treated
+ as either all lvalues or all const-lvalues. The third constant is the total
+ limit for arity <code class="computeroutput">k<span class="special">[</span>i<span class="special">]</span></code>.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../common.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../common.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,171 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Conventions</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tut.html" title="Tutorial">
+<link rel="next" href="reference.html" title="Reference">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tut.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.conv"></a><a class="link" href="conv.html" title="Conventions">Conventions</a>
+</h2></div></div></div>
+<p>
+ Conventions used in this documentation.
+ </p>
+<a name="boost_assign.conv.namespace"></a><h4>
+<a name="id36335170"></a>
+ <a class="link" href="conv.html#boost_assign.conv.namespace">Namespace</a>
+ </h4>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Syntax or semantics about identifier <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code>
+ displays the latter as <code class="computeroutput"><span class="identifier">name</span></code>.
+ </li>
+<li class="listitem">
+ In code snippets under header <span class="bold"><strong>Example</strong></span>,
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">name</span></code> is displayed as <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">name</span></code>.
+ </li>
+</ul></div>
+<a name="boost_assign.conv.glossary"></a><h4>
+<a name="id36335294"></a>
+ <a class="link" href="conv.html#boost_assign.conv.glossary">Glossary</a>
+ </h4>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">Container generator</span></dt>
+<dd><p>
+ A function that returns a container
+ </p></dd>
+<dt><span class="term">Csv form</span></dt>
+<dd><p>
+ Syntax that takes the form of one function invocation to achieve the
+ same side effect as successive functor invocations over its arguments
+ </p></dd>
+<dt><span class="term">Data generator</span></dt>
+<dd><p>
+ Internal component of an interpreter that constructs a container data-member
+ from passed arguments
+ </p></dd>
+<dt><span class="term">Functor form</span></dt>
+<dd><p>
+ Syntax that takes the form of successive functor invocations
+ </p></dd>
+<dt><span class="term">Interpreter</span></dt>
+<dd><p>
+ Object that makes the syntax for successively modifying a container to
+ resemble a sentence
+ </p></dd>
+<dt><span class="term">Modifier</span></dt>
+<dd><p>
+ Internal component of an interpreter that invokes a container modifier
+ </p></dd>
+<dt><span class="term">Option</span></dt>
+<dd><p>
+ Object that encapsulates a command to alter the semantics of an interpreter
+ </p></dd>
+<dt><span class="term">Pipe</span></dt>
+<dd><p>
+ Overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code>
+ that transforms the first argument by a mapping specified by the second
+ argument, and returns it<sup>[<a name="id36335427" href="#ftn.id36335427" class="footnote">7</a>]</sup>.
+ </p></dd>
+<dt><span class="term">Reference array</span></dt>
+<dd><p>
+ Designates, in this library, an array of reference wrappers.
+ </p></dd>
+</dl>
+</div>
+<a name="boost_assign.conv.notation"></a><h4>
+<a name="id36335467"></a>
+ <a class="link" href="conv.html#boost_assign.conv.notation">Notation</a>
+ </h4>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">arg</code></span></dt>
+<dd><p>
+ Some argument of unspecified type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">cont</code></span></dt>
+<dd><p>
+ A container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ <code class="computeroutput">cont</code>'s type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">r</code></span></dt>
+<dd><p>
+ A range
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">f</code></span></dt>
+<dd><p>
+ A functor
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">generate</code></span></dt>
+<dd><p>
+ A container generator
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">interpreter</code></span></dt>
+<dd><p>
+ An interpreter
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">option-modifier</code></span></dt>
+<dd><p>
+ Option to alter a modifier
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">option</code></span></dt>
+<dd><p>
+ An option
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">rw</code></span></dt>
+<dd><p>
+ A reference array
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t</code></span></dt>
+<dd><p>
+ A container data-member
+ </p></dd>
+</dl>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36335427" href="#id36335427" class="para">7</a>] </sup>
+ This idiom originated in Unix
+ and is present in Boost.Range under the name <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">range
+ adaptor</a>.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tut.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/ex.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/ex.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,60 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Example</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../conv.html" title="Convention">
+<link rel="prev" href="syn.html" title="Synopsis">
+<link rel="next" href="../put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="syn.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.conv.ex"></a><a class="link" href="ex.html" title="Example">Example</a>
+</h3></div></div></div>
+<p>
+ Any code snippet under heading <span class="bold"><strong>Example</strong></span> is
+ assumed to be preceded by the include statement under heading <span class="bold"><strong>Header</strong></span>
+ appearing in the nearest enclosing section (if not the current one, that
+ of the top level etc.). Furthermore, the following aliases are used:
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">as2</span> <span class="special">=</span> boost::assign::v2<span class="special">;</span>
+<span class="keyword">namespace</span> <span class="identifier">lambda</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ Headers or definitions that are not part of this library are not explicitly
+ included in the documentation. They can be found in the sources files of
+ the test files located in this directory
+ .
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="syn.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/index.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/index.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,195 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Index</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../conv.html" title="Convention">
+<link rel="prev" href="../conv.html" title="Convention">
+<link rel="next" href="syn.html" title="Synopsis">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../conv.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="syn.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.conv.index"></a><a class="link" href="index.html" title="Index">Index</a>
+</h3></div></div></div>
+<div class="table">
+<a name="boost_assign_v2.conv.index.indexes"></a><p class="title"><b>Table 1.1. Indexes</b></p>
+<div class="table-contents"><table class="table" summary="Indexes">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal"> <code class="literal">i</code> = 0, ..., <code class="literal">n</code>-1</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Indexes a sequence of <code class="computeroutput">t</code>'s
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal"> <code class="literal">j</code> = 0, ..., <code class="literal">k</code>-1</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Indexes arguments of a <code class="literal">k</code>-ary function
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="boost_assign_v2.conv.index.brackets"></a><p class="title"><b>Table 1.2. Brackets</b></p>
+<div class="table-contents"><table class="table" summary="Brackets">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">t</code>[<code class="literal">i</code>]
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">i</code>th value
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">arg</code>[<code class="literal">j</code>]
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">j</code>th argument at unspecified <code class="literal">i</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">arg</code>[<code class="literal">i</code>,<code class="literal">j</code>]
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">j</code>th argument at <code class="literal">i</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><div class="table">
+<a name="boost_assign_v2.conv.index.alias"></a><p class="title"><b>Table 1.3. Alias</b></p>
+<div class="table-contents"><table class="table" summary="Alias">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="literal">x</code>, <code class="literal">y</code>, <code class="literal">z</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">t</code>[<code class="literal">0</code>] , <code class="literal">t</code>[<code class="literal">1</code>]
+ , <code class="literal">t</code>[<code class="literal">2</code>]
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<br class="table-break"><a name="boost_assign_v2.conv.index.example"></a><h5>
+<a name="id36332318"></a>
+ <a class="link" href="index.html#boost_assign_v2.conv.index.example">Example</a>
+ </h5>
+<p>
+ Here, we refer to the code snippets given in the <a class="link" href="../../index.html#boost_assign_v2.intro" title="Introduction">Introduction</a>.
+ In the <a class="link" href="../../index.html#cal">example</a> involving a calendar, <code class="literal">n
+ = 3</code> and <code class="literal">k = 2</code> for <code class="literal">i = 0, 1 ,2</code>,
+ corresponding the months of January, February and March, respectively. In
+ the <a class="link" href="../../index.html#csv_put_pipe">example</a> involving a stable partition,
+ <code class="literal">n = 6</code> and <code class="literal">k = 1</code>.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../conv.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="syn.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/syn.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/conv/syn.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,59 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Synopsis</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../conv.html" title="Convention">
+<link rel="prev" href="index.html" title="Index">
+<link rel="next" href="ex.html" title="Example">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.conv.syn"></a><a class="link" href="syn.html" title="Synopsis">Synopsis</a>
+</h3></div></div></div>
+<p>
+ In any code snippet under heading <span class="bold"><strong>Synopsis</strong></span>,
+ and more generally those that describe a feature, identifiers in the <code class="computeroutput"><span class="keyword">namespace</span></code> of this library, <code class="computeroutput">boost::assign::v2</code>,
+ are <span class="emphasis"><em>not</em></span> fully qualified. Another way to say this, is
+ to assume that the code is preceded by the following <code class="computeroutput"><span class="keyword">using</span></code>
+ declaration.
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> boost::assign::v2<span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ Code that describes a feature is expressed in terms of <a class="link" href="../conv.html#boost_assign_v2.conv.symb" title="Symbols">symbols</a>
+ and <a class="link" href="index.html" title="Index">indexes</a>, never actual
+ data-types (such as <code class="computeroutput"><span class="keyword">int</span></code>).
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="index.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../conv.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ex.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,113 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Detail</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="detail/config.html" title="Config">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail/config.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.detail"></a><a class="link" href="detail.html" title="Detail">Detail</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+<dt><span class="section">Config</span></dt>
+<dd><dl>
+<dt><span class="section">Limit arity</span></dt>
+<dt><span class="section"><a href="detail/config.html#boost_assign_v2.detail.config.lconst_arity">Limit lvalue-const
+ arity</a></span></dt>
+<dt><span class="section">Limit csv-arity</span></dt>
+</dl></dd>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.detail.keyword"></a><a class="link" href="detail.html#boost_assign_v2.detail.keyword" title="Keyword">Keyword</a>
+</h3></div></div></div>
+<div class="toc"><dl><dt><span class="section">Nil</span></dt></dl></div>
+<a name="boost_assign_v2.detail.keyword.header"></a><h5>
+<a name="id36336791"></a>
+ <a class="link" href="detail.html#boost_assign_v2.detail.keyword.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.detail.keyword.nil"></a><a class="link" href="detail.html#boost_assign_v2.detail.keyword.nil" title="Nil">Nil</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.detail.keyword.nil.header"></a><h6>
+<a name="id36336842"></a>
+ <a class="link" href="detail.html#boost_assign_v2.detail.keyword.nil.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword/nil.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.keyword.nil.description"></a><h6>
+<a name="id36336882"></a>
+ <a class="link" href="detail.html#boost_assign_v2.detail.keyword.nil.description">Description</a>
+ </h6>
+<p>
+ Type on which <code class="computeroutput"><span class="keyword">operator</span><span class="special">()</span></code>
+ is overloaded in various parts of the library.
+ </p>
+<a name="boost_assign_v2.detail.keyword.nil.syntax"></a><h6>
+<a name="id36336912"></a>
+ <a class="link" href="detail.html#boost_assign_v2.detail.keyword.nil.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">keyword_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">nil</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">keyword_aux</span>
+
+ <span class="identifier">keyword_aux</span> <span class="keyword">const</span> _nil<span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail/config.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/config.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/config.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,301 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Config</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../detail.html" title="Detail">
+<link rel="prev" href="../detail.html" title="Detail">
+<link rel="next" href="../put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../detail.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.detail.config"></a><a class="link" href="config.html" title="Config">Config</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Limit arity</span></dt>
+<dt><span class="section"><a href="config.html#boost_assign_v2.detail.config.lconst_arity">Limit lvalue-const
+ arity</a></span></dt>
+<dt><span class="section">Limit csv-arity</span></dt>
+</dl></div>
+<a name="boost_assign_v2.detail.config.header"></a><h5>
+<a name="id36336998"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.header">Header</a>
+ </h5>
+<p>
+ Does not have a header.
+ </p>
+<a name="boost_assign_v2.detail.config.description"></a><h5>
+<a name="id36337015"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.description">Description</a>
+ </h5>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.detail.config.arity"></a><a class="link" href="config.html#boost_assign_v2.detail.config.arity" title="Limit arity">Limit arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.detail.config.arity.header"></a><h6>
+<a name="id36337039"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.arity.syntax"></a><h6>
+<a name="id36337079"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.arity.semantics"></a><h6>
+<a name="id36337114"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.detail.config.lconst_arity"></a><a class="link" href="config.html#boost_assign_v2.detail.config.lconst_arity" title="Limit lvalue-const arity">Limit lvalue-const
+ arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.detail.config.lconst_arity.header"></a><h6>
+<a name="id36337221"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.lconst_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.lconst_arity.syntax"></a><h6>
+<a name="id36337264"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.lconst_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.lconst_arity.semantics"></a><h6>
+<a name="id36337300"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.lconst_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments for which any mixture of lvalue
+ and const-lvalues is preserved
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Beyond this limit, arguments are treated as either all lvalues or all const-lvalues.
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.detail.config.csv_arity"></a><a class="link" href="config.html#boost_assign_v2.detail.config.csv_arity" title="Limit csv-arity">Limit csv-arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.detail.config.csv_arity.header"></a><h6>
+<a name="id36337419"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.csv_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.csv_arity.syntax"></a><h6>
+<a name="id36337459"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.csv_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.config.csv_arity.semantics"></a><h6>
+<a name="id36337496"></a>
+ <a class="link" href="config.html#boost_assign_v2.detail.config.csv_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ Limits a csv-function's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../detail.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/keyword.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/detail/keyword.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,93 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Keyword</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../detail.html" title="Detail">
+<link rel="prev" href="../detail.html" title="Detail">
+<link rel="next" href="config.html" title="Config">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../detail.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="config.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.detail.keyword"></a><a class="link" href="keyword.html" title="Keyword">Keyword</a>
+</h3></div></div></div>
+<div class="toc"><dl><dt><span class="section">Nil</span></dt></dl></div>
+<a name="boost_assign_v2.detail.keyword.header"></a><h5>
+<a name="id36369514"></a>
+ <a class="link" href="keyword.html#boost_assign_v2.detail.keyword.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.detail.keyword.nil"></a><a class="link" href="keyword.html#boost_assign_v2.detail.keyword.nil" title="Nil">Nil</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.detail.keyword.nil.header"></a><h6>
+<a name="id36369575"></a>
+ <a class="link" href="keyword.html#boost_assign_v2.detail.keyword.nil.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword/nil.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.detail.keyword.nil.description"></a><h6>
+<a name="id36369621"></a>
+ <a class="link" href="keyword.html#boost_assign_v2.detail.keyword.nil.description">Description</a>
+ </h6>
+<p>
+ Keyword used throughout the library, usually for requesting an empty container.
+ </p>
+<a name="boost_assign_v2.detail.keyword.nil.syntax"></a><h6>
+<a name="id36369643"></a>
+ <a class="link" href="keyword.html#boost_assign_v2.detail.keyword.nil.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">keyword_aux</span><span class="special">{</span>
+ <span class="keyword">struct</span> <span class="identifier">nil</span><span class="special">;</span>
+<span class="special">}</span>
+
+<span class="identifier">keyword_aux</span> <span class="keyword">const</span> _nil<span class="special">;</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../detail.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="config.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ex.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ex.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,78 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Examples</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="tutorial.html" title="Tutorial">
+<link rel="next" href="put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.ex"></a><a class="link" href="ex.html" title="Examples">Examples</a>
+</h2></div></div></div>
+<a name="boost_assign_v2.ex.put"></a><h4>
+<a name="id36331803"></a>
+ <a class="link" href="ex.html#boost_assign_v2.ex.put">Put</a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+<th>
+ <p>
+ Examples
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ Put.Modifier.Repeat
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html#ex_put_modifier_repeat">String literal, Concatenation,
+ Push front</a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="tutorial.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_key.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_key.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,731 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Functions and operators</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tutorial.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.fun_key"></a><a class="link" href="fun_key.html" title="Functions and operators">Functions and operators</a>
+</h2></div></div></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">cont</code></span></dt>
+<dd><p>
+ A container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ <code class="computeroutput">cont</code>'s type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">r</code></span></dt>
+<dd><p>
+ A range
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code></span></dt>
+<dd><p>
+ A list of arguments
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span><span class="special">,</span>
+ <span class="special">...,</span> <span class="identifier">ak</span></code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t<span class="special">...</span></code></span></dt>
+<dd><p>
+ A list of values, each to be inserted into a container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">T</code></span></dt>
+<dd><p>
+ A container's value-type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput">t<span class="special">...</span></code>
+ </p></dd>
+</dl>
+</div>
+<a name="boost_assign_v2.fun_key.functions"></a><h4>
+<a name="id36332015"></a>
+ <a class="link" href="fun_key.html#boost_assign_v2.fun_key.functions">Functions</a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Explicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html" title="Conversion">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Implicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html" title="Conversion">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a deque container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/deque.html" title="Deque">Put.Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a deque container by forwarding the arguments to <code class="computeroutput">T</code>'s
+ constructor
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/deque.html" title="Deque">Put.Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards arguments to <code class="computeroutput">T</code>'s constructor and puts them
+ in <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/put.html" title="Put">Put.Put</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array<span class="special">(</span> t<span class="number">1</span>
+ <span class="special">)...(</span> tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a <span class="emphasis"><em>reference array</em></span><sup>[<a name="id36332399" href="#ftn.id36332399" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref/array.html" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref/array.html" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36332399" href="#id36332399" class="para">a</a>] </sup>
+ <span class="emphasis"><em>reference array</em></span> means, in this doc, array
+ of reference wrappers.
+ </p></div></td></tr></tbody>
+</table></div>
+<a name="boost_assign_v2.fun_key.operator_code__phrase_role__special___amp__amp___phrase___code_"></a><h4>
+<a name="id36332483"></a>
+ <a class="link" href="fun_key.html#boost_assign_v2.fun_key.operator_code__phrase_role__special___amp__amp___phrase___code_">Operator<code class="computeroutput"><span class="special">&&</span></code></a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">1</span> <span class="special">&&</span>
+ r<span class="number">2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, including reference-arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">Utility.Chain</a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.fun_key.operator_code__phrase_role__special______phrase___code_"></a><h4>
+<a name="id36332592"></a>
+ <a class="link" href="fun_key.html#boost_assign_v2.fun_key.operator_code__phrase_role__special______phrase___code_">Operator<code class="computeroutput"><span class="special">()</span></code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">put-adapter</code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput">csv_deque<span class="special">()</span></code>,
+ <code class="computeroutput">deque<span class="special"><>()</span></code> or <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">generate</code></span></dt>
+<dd><p>
+ Container generating function, such as <code class="computeroutput">deque<span class="special"><>()</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Keyword</strong></span>
+ </p>
+<p>
+ A <span class="emphasis"><em>keyword</em></span> is an identifier with prefix <code class="computeroutput"><span class="identifier">_</span></code>.
+ Invoking it usually returns an object that is the second argument to an operator
+ overload.
+ </p>
+<p>
+ <span class="bold"><strong>Overloads</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Sections
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> as_arg_list<span class="special">(</span> r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Signals to <code class="computeroutput">put-adapter</code> that each element of <code class="computeroutput">r</code>
+ is to evaluated individually
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter" title="Adapter">Put.Adapter</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">generate<span class="special">(</span> _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates an empty container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="detail.html#boost_assign_v2.detail.keyword.nil" title="Nil">Detail.Keyword.Nil</a>,
+ <a class="link" href="put/deque.html" title="Deque">Put.Deque</a>, <a class="link" href="put/put.html" title="Put">Put.Put</a>, <a class="link" href="ref/array.html" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.fun_key.operator__code__phrase_role__special_____phrase___code_"></a><h4>
+<a name="id36332894"></a>
+ <a class="link" href="fun_key.html#boost_assign_v2.fun_key.operator__code__phrase_role__special_____phrase___code_">Operator
+ <code class="computeroutput"><span class="special">%</span></code></a>
+ </h4>
+<p>
+ In each case below, the returned object is an altered version of <code class="computeroutput">put-adapter</code>.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> constructor<span class="special"><</span>T<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/fun.html" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _fun <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/fun.html" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _identity</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/fun.html" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _iterate <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _lookup <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _modifier <span class="special">=</span> arg <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> new_ptr<span class="special"><</span>T<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/fun.html" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _repeat <span class="special">=</span> <span class="identifier">n</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/modifier.html" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.fun_key._code__phrase_role__keyword__operator__phrase__phrase_role__special_____phrase___code_"></a><h4>
+<a name="id36333563"></a>
+ <a class="link" href="fun_key.html#boost_assign_v2.fun_key._code__phrase_role__keyword__operator__phrase__phrase_role__special_____phrase___code_"><code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<p>
+ Either returns a transformed range (see <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Range
+ adaptors</a>) or returns a container with a modified state.
+ </p>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">p1, ..., pm</code></span></dt>
+<dd><p>
+ Parameters passed in the right hand side of <code class="computeroutput"><span class="identifier">opererator</span><span class="special">%</span></code>, from the list above. The special case
+ <code class="literal">m = 0</code> means an empty list.
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Overloads</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Decription
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">2</span> <span class="special">|</span>
+ _chain<span class="special">(</span> r<span class="number">2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">Utility.Chain</a>
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to the function(s) or operator(s) by the same name(s).
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html" title="Conversion">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to the function(s) or operator(s) by the same name(s).
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="utility/conversion.html" title="Conversion">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _csv_put % p1 ... % pm <span class="special">)(</span> t<span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Same as <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put <span class="special">%</span> <span class="identifier">p1</span>
+ <span class="special">...</span> <span class="special">%</span>
+ <span class="identifier">pm</span> <span class="special">)(</span>
+ t<span class="number">1</span> <span class="special">)...(</span>
+ tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/pipe.html" title="Pipe">Put.Pipe</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">rw <span class="special">|</span> ref::_get </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Gets at the reference wrappers' reference
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref/array.html" title="Array">Ref.Wrapper</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put <span class="special">%</span> <span class="identifier">p1</span>
+ <span class="special">...</span> <span class="special">%</span>
+ <span class="identifier">pm</span> <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to the function(s) or operator(s) by the same name(s).
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put/pipe.html" title="Pipe">Put.Pipe</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_op.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/fun_op.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,741 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Functions and operators</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tutorial.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.fun_op"></a><a class="link" href="fun_op.html" title="Functions and operators">Functions and operators</a>
+</h2></div></div></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">cont</code></span></dt>
+<dd><p>
+ A container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ <code class="computeroutput">cont</code>'s type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">r</code></span></dt>
+<dd><p>
+ A range
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code></span></dt>
+<dd><p>
+ A list of arguments
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span><span class="special">,</span>
+ <span class="special">...,</span> <span class="identifier">ak</span></code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t<span class="special">...</span></code></span></dt>
+<dd><p>
+ A list of values, each to be inserted into a container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">T</code></span></dt>
+<dd><p>
+ A container's value-type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput">t<span class="special">...</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Convention</strong></span>
+ </p>
+<a name="ref_array"></a><p>
+ A <span class="emphasis"><em>reference array</em></span> designates, in this library, an array
+ of reference wrappers. See section <a class="link" href="reference/ref.html#boost_assign_v2.reference.ref.array" title="Array">Ref.Wrapper</a>.
+ </p>
+<a name="keyword"></a><p>
+ A <span class="emphasis"><em>keyword</em></span> is an identifier with prefix <code class="computeroutput"><span class="identifier">_</span></code>.
+ Invoking it usually returns an object that specifies an operator overload.
+ </p>
+<a name="boost_assign_v2.fun_op.functions"></a><h4>
+<a name="id36331825"></a>
+ <a class="link" href="fun_op.html#boost_assign_v2.fun_op.functions">Functions</a>
+ </h4>
+<p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Implicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/utility.html#boost_assign_v2.reference.utility.conversion.converter" title="Converter">Utility.Conversion.Converter</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a deque container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.deque" title="Deque">Put.Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a deque container by forwarding the arguments to <code class="computeroutput">T</code>'s
+ constructor
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.deque" title="Deque">Put.Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards arguments to <code class="computeroutput">T</code>'s constructor and puts them
+ in <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.put" title="Put">Put.Put</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array<span class="special">(</span> t<span class="number">1</span>
+ <span class="special">)...(</span> tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/ref.html#boost_assign_v2.reference.ref.array" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/ref.html#boost_assign_v2.reference.ref.array" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">put-adapter</code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput">csv_deque<span class="special">(</span>t<span class="special">...)</span></code>,
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code> or <code class="computeroutput">put<span class="special">(</span>
+ cont <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">generate</code></span></dt>
+<dd><p>
+ A container generating function such as <code class="computeroutput">csv_deque</code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Miscellanea</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> as_arg_list<span class="special">(</span> r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Signals to <code class="computeroutput">put-adapter</code> that each element of <code class="computeroutput">r</code>
+ is to evaluated individually
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.adapter" title="Adapter">Put.Adapter</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">generate<span class="special">(</span> _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates an empty container <sup>[<a name="id36332475" href="#ftn.id36332475" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference.html#boost_assign_v2.reference.detail.keyword.nil" title="Nil">Detail.Keyword.Nil</a>,
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.deque" title="Deque">Put.Deque</a>,
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.put" title="Put">Put.Put</a>,
+ <a class="link" href="reference/ref.html#boost_assign_v2.reference.ref.array" title="Array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36332475" href="#id36332475" class="para">a</a>] </sup>
+ Whereas <code class="computeroutput">generate<span class="special">()</span></code>,
+ if it is valid, generates a container whose only element is default
+ constructed
+ </p></div></td></tr></tbody>
+</table></div>
+<a name="boost_assign_v2.fun_op.operator_code__phrase_role__special___amp__amp___phrase___code_"></a><h4>
+<a name="id36332534"></a>
+ <a class="link" href="fun_op.html#boost_assign_v2.fun_op.operator_code__phrase_role__special___amp__amp___phrase___code_">Operator<code class="computeroutput"><span class="special">&&</span></code></a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">1</span> <span class="special">&&</span>
+ r<span class="number">2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays<sup>[<a name="id36332620" href="#ftn.id36332620" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/utility.html#boost_assign_v2.reference.utility.chain" title="Chain">Utility.Chain</a>
+ </p>
+ </td>
+</tr></tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36332620" href="#id36332620" class="para">a</a>] </sup>
+ This feature is optional i.e. it's header has to be individually
+ included
+ </p></div></td></tr></tbody>
+</table></div>
+<a name="boost_assign_v2.fun_op.operator__code__phrase_role__special_____phrase___code_"></a><h4>
+<a name="id36332650"></a>
+ <a class="link" href="fun_op.html#boost_assign_v2.fun_op.operator__code__phrase_role__special_____phrase___code_">Operator
+ <code class="computeroutput"><span class="special">%</span></code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">f</span></dt>
+<dd><p>
+ A functor
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">arg</code></span></dt>
+<dd><p>
+ Some argument of unspecified type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">n</span></code></span></dt>
+<dd><p>
+ An integer
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<p>
+ With <code class="computeroutput">put-adapter</code> as the first argument, returns an altered version
+ of it.
+ </p>
+<p>
+ <span class="bold"><strong>Overloads</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> constructor<span class="special"><</span>T<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.fun" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _fun <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.fun" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _identity</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.fun" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _iterate <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _lookup <span class="special">=</span> f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _modifier <span class="special">=</span> arg <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> new_ptr<span class="special"><</span>T<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.fun" title="Fun">Put.Fun</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> _push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ _repeat <span class="special">=</span> <span class="identifier">n</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.modifier" title="Modifier">Put.Modifier</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.fun_op.operator_code__phrase_role__special_____phrase___code_"></a><h4>
+<a name="id36333397"></a>
+ <a class="link" href="fun_op.html#boost_assign_v2.fun_op.operator_code__phrase_role__special_____phrase___code_">Operator<code class="computeroutput"><span class="special">|</span></code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<p>
+ Either returns a transformed range (see <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Range
+ adaptors</a>) or returns a container with a modified state.
+ </p>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">p1, ..., pm</code></span></dt>
+<dd><p>
+ Parameters passed in the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. The special case <code class="literal">m = 0</code>
+ means an empty list
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">rw</code></span></dt>
+<dd><p>
+ <a class="link" href="fun_op.html#ref_array">Reference array</a>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Overloads</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Decription
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">2</span> <span class="special">|</span>
+ _chain<span class="special">(</span> r<span class="number">2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/utility.html#boost_assign_v2.reference.utility.chain" title="Chain">Utility.Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Explicit conversion to <code class="computeroutput">C</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/utility.html#boost_assign_v2.reference.utility.conversion.convert" title="Convert">Utility.Conversion.Convert</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _csv_put % p1 ... % pm <span class="special">)(</span> t<span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Same as <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put % p1 ... % pm <span class="special">)(</span> t<span class="number">1</span>
+ <span class="special">)...(</span> tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.pipe" title="Pipe">Put.Pipe</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">rw <span class="special">|</span> ref::_get </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Transforms <code class="computeroutput">rw</code> by getting at each of its reference wrapper's
+ reference
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/ref.html#boost_assign_v2.reference.ref.array" title="Array">Ref.Wrapper</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put <span class="special">%</span> <span class="identifier">p1</span>
+ <span class="special">...</span> <span class="special">%</span>
+ <span class="identifier">pm</span> <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to the function(s) or operator(s) by the same name(s).
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html#boost_assign_v2.reference.put.pipe" title="Pipe">Put.Pipe</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/headers.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/headers.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,111 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Headers</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tutorial.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.headers"></a><a class="link" href="headers.html" title="Headers">Headers</a>
+</h2></div></div></div>
+<p>
+ Using a given feature of this library requires no more than including the corresponding
+ header file. To find it, one can look inside either the organization by module
+ or the one by identifier.
+ </p>
+<p>
+ <span class="bold"><strong>By module</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2</code>, all but within <code class="literal">boost/assign/v2/include</code>,
+ headers and directories are organized according to the modular structure of
+ this library. The following statement includes most of the functionality <sup>[<a name="id36331581" href="#ftn.id36331581" class="footnote">2</a>]</sup>:
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>By identifier</strong></span>
+ </p>
+<p>
+ In directory <code class="literal">boost/assign/v2/include</code>, described in section
+ <a class="link" href="include.html" title="Include">Include</a>, headers are named after
+ a function. The following statement includes most of the functionality <sup>[<a name="id36331658" href="#ftn.id36331658" class="footnote">3</a>]</sup>:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<p>
+ Headers in directory <code class="literal">boost/assign/v2/optional</code>, equivalently
+ <code class="literal">boost/assign/v2/include/optional</code>, overload <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. A
+ header from this directory has to be included <span class="bold"><strong>after</strong></span>
+ that of the object to be passed as first argument to <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">optional</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is wrong, but
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">optional</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is right.
+ </p>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331581" href="#id36331581" class="para">2</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36331658" href="#id36331658" class="para">3</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tutorial.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/help.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/help.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,48 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Help</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="change_log.html" title="Change log">
+<link rel="next" href="hist.html" title="History and acknowledgement">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.help"></a><a class="link" href="help.html" title="Help">Help</a>
+</h2></div></div></div>
+<p>
+ To get help or make a suggestion, post to the <a href="http://www.boost.org/community/groups.html#users" target="_top">Boost
+ Users Mailing List</a>, but also make sure to notify TO
+ and <a href="mailto:erDOTciDOT2020ATgmailDOTcom" target="_top">ER</a> by cc-ing them.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/hist.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/hist.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,91 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>History and acknowledgement</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="support.html" title="Support">
+<link rel="next" href="bibl.html" title="Bibliography">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="support.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bibl.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.hist"></a><a class="link" href="hist.html" title="History and acknowledgement">History and acknowledgement</a>
+</h2></div></div></div>
+<a name="boost_assign_v2.hist.boost_assign_1_0"></a><h4>
+<a name="id36371982"></a>
+ <a class="link" href="hist.html#boost_assign_v2.hist.boost_assign_1_0">Boost.Assign 1.0</a>
+ </h4>
+<p>
+ The idea for an assignment/initialization library is not new. The functionality
+ of this library resembles Leor Zolman's STL Container Initialization Library
+ a great deal, but it does not rely on string parsing to achieve its goals.
+ </p>
+<p>
+ Special thanks go to
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Leor Zolman for our many discussion that eventually led to this library.
+ </li>
+<li class="listitem">
+ Tom Brinkman for being review manager.
+ </li>
+<li class="listitem">
+ Joaquín Muñoz for vc6/vc7 portability.
+ </li>
+<li class="listitem">
+ Pavel Vozenilek for his countless suggestions, improvements and portability
+ fixes.
+ </li>
+<li class="listitem">
+ Rene Rivera for Code Warrior portability.
+ </li>
+</ul></div>
+<a name="boost_assign_v2.hist.boost_assign_2_0_"></a><h4>
+<a name="id36372051"></a>
+ <a class="link" href="hist.html#boost_assign_v2.hist.boost_assign_2_0_">Boost.Assign 2.0 </a>
+ </h4>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Manuel Peinado Gallego identified the need for a (revised) <a class="link" href="ref.html" title="Ref">ref-framework</a>,
+ and provided valuable advice throughout the early development of Boost.Assign
+ 2.0, such as proposing a design
+ that laid the foundation for <a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">chaining</a>.
+ </li>
+<li class="listitem">
+ TO
+ and John Bytheway have shaped this new version of the library and its documentation,
+ through their feedback as review managers of mini-review,
+ and the main review, respectively.
+ </li>
+</ul></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="support.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bibl.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/include.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/include.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,794 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Include</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="conv.html" title="Conventions">
+<link rel="next" href="reference.html" title="Reference">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conv.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.include"></a><a class="link" href="include.html" title="Include">Include</a>
+</h2></div></div></div>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Overview of directory boost/assign/v2/include,
+ which enables faster lookup of a particular feature. For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">csv_deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ is equivalent to
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">deque</span><span class="special">/</span><span class="identifier">csv_deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.include.files_in__literal__include__literal_"></a><h4>
+<a name="id36335280"></a>
+ <a class="link" href="include.html#boost_assign.include.files_in__literal__include__literal_">Files
+ in <code class="literal">/include</code></a>
+ </h4>
+<a name="include_begins_here"></a><p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">chain.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">2</span> <span class="special">|</span>
+ _chain<span class="special">(</span> r<span class="number">2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">convert.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Explicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">converter.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Implicit conversion
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv<span class="special">(</span> <span class="identifier">functor</span><span class="special">,</span> t<span class="number">1</span><span class="special">,</span> <span class="special">...,</span> tn<span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Same as <code class="computeroutput"><span class="identifier">functor</span><span class="special">(</span>
+ t<span class="number">1</span> <span class="special">)</span>
+ <span class="special">...</span> <span class="special">(</span>
+ tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Csv</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_deque.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that generates a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/deque.html" title="Deque">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">deque.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)</span> <span class="special">...</span>
+ <span class="special">(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that generates a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/deque.html" title="Deque">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">put.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Interpreter that changes the state of a container
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/put.html" title="Put">Put</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Auxiliary</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">interpreter<span class="special">(</span> as_arg_list<span class="special">(</span> r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Signals to <code class="computeroutput">interpreter</code> to process each element of <code class="computeroutput">r</code>
+ individually
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="reference/interpreter.html" title="Interpreter">Interpreter</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">generate<span class="special">(</span> _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates an empty container <sup>[<a name="id36336022" href="#ftn.id36336022" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Detail</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36336022" href="#id36336022" class="para">a</a>] </sup>
+ Whereas <code class="computeroutput">generate<span class="special">()</span></code>,
+ if it is valid, generates a container whose only element is default
+ constructed
+ </p></div></td></tr></tbody>
+</table></div>
+<a name="boost_assign.include.optional"></a><h4>
+<a name="id36336064"></a>
+ <a class="link" href="include.html#boost_assign.include.optional">Optional</a>
+ </h4>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> option</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Modifies <code class="computeroutput">interpreter</code>'s semantics
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Options</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Encapsulates command to
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">data.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span> _data <span class="special">=</span>
+ f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the data-generator
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">insert.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">iterate.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_iterate <span class="special">=</span> f </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">key.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_key</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replacing the data-generator by a key-generator
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">modifier.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">BOOST_ASSIGN_V2_OPTIONAL_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">Keyword</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_OPTIONAL_MODIFIER_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Customize a modifier-option
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">push.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">push_front.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">repeat.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_repeat <span class="special">=</span> <span class="identifier">n</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">standard.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_standard_modifier <span class="special">=</span> arg</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replace the modifier
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.include._literal__include_operator__literal_"></a><h4>
+<a name="id36336571"></a>
+ <a class="link" href="include.html#boost_assign.include._literal__include_operator__literal_"><code class="literal">/include/operator</code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Operator overloads associated with a function that are optional i.e. whose
+ the headers are not included in those of the associated functions.
+ </p>
+<p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">chain.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">1</span> <span class="special">&&</span>
+ r<span class="number">2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Chains two ranges, with particular attention to reference arrays
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../">Utility.Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _csv_put % option1 ... % optionm <span class="special">)(</span>
+ t<span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards parameters and arguments to <code class="computeroutput">put<span class="special">(</span>
+ cont <span class="special">)</span></code> returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_value<span class="underline">pipe</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="special">(</span>
+ _put <span class="special">%</span> <span class="identifier">p1</span>
+ <span class="special">...</span> <span class="special">%</span>
+ <span class="identifier">pm</span> <span class="special">)(</span>
+ <span class="identifier">args1</span><span class="special">...</span>
+ <span class="special">)...(</span> <span class="identifier">argsn</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards parameters and arguments to <code class="computeroutput">put<span class="special">(</span>
+ cont <span class="special">)</span></code> returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_value<span class="underline">pipe</span>_
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.include._literal__include_ref__literal_"></a><h4>
+<a name="id36336935"></a>
+ <a class="link" href="include.html#boost_assign.include._literal__include_ref__literal_"><code class="literal">/include/ref</code></a>
+ </h4>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ Functionality in namespace <code class="computeroutput"><span class="identifier">ref</span></code>.
+ </p>
+<p>
+ <span class="bold"><strong>Usage</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ File
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="literal">array.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">rw<span class="special">(</span> t<span class="number">1</span>
+ <span class="special">)</span> <span class="special">...</span>
+ <span class="special">(</span> tn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">array</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">csv_array.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> t<span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Generates a reference array
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">array</span>_
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="literal">get.hpp</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">rw <span class="special">|</span> ref::_get </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Transforms <code class="computeroutput">rw</code> by member function <code class="computeroutput"><span class="identifier">get</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ __link_ref<span class="underline">wrapper</span>_
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conv.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,235 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Miscellaneous</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="ref/array.html" title="array">
+<link rel="next" href="misc/chain.html" title="_chain">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="misc/chain.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.misc"></a><a class="link" href="misc.html" title="Miscellaneous">Miscellaneous</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">converter
</span></dt>
+<dt><span class="section">_chain
</span></dt>
+<dd><dl>
+<dt><span class="section">operator|()
</span></dt>
+<dt><span class="section">operator&&()
</span></dt>
+</dl></dd>
+<dt><span class="section">sub_range
</span></dt>
+</dl></div>
+<a name="boost_assign_v2.misc.header"></a><h4>
+<a name="id36341687"></a>
+ <a class="link" href="misc.html#boost_assign_v2.misc.header">Header</a>
+ </h4>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.misc.convert"></a><a class="link" href="misc.html#boost_assign_v2.misc.convert" title="converter"><code class="computeroutput">converter</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.misc.convert.header"></a><h5>
+<a name="id36341749"></a>
+ <a class="link" href="misc.html#boost_assign_v2.misc.convert.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/convert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.misc.convert.synopsis"></a><h5>
+<a name="id36341930"></a>
+ <a class="link" href="misc.html#boost_assign_v2.misc.convert.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">Cont cont <span class="special">=</span> converter<span class="special">(</span> r <span class="special">);</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Copy constructs <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to <code class="computeroutput">converter<span class="special">(</span> r
+ <span class="special">).</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">converter<span class="special">(</span> r <span class="special">).</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">>();</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an object of type <code class="computeroutput">Cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ See rules.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.misc.convert.rules"></a><h5>
+<a name="id36342129"></a>
+ <a class="link" href="misc.html#boost_assign_v2.misc.convert.rules">Rules</a>
+ </h5>
+<p>
+ The rules of conversion are a kind of switch statement, whose (only two)
+ cases and the corresponding implementation are given below:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Condition
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">Cont</code> is an adapter
+ or boost_array<>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">></span> <span class="special">|</span> <a class="link" href="put.html#boost_assign_v2.put.pipe.range" title="put_range">put_range</a><span class="special">(</span> r <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ True.
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">Cont<span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> r <span class="special">)</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.misc.convert.example"></a><h5>
+<a name="id36342359"></a>
+ <a class="link" href="misc.html#boost_assign_v2.misc.convert.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;<
/span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">stack</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">lifo</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">lifo</span><span class="special">.</span><span class="identifier">top</span><span class="special">()</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">99</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;
</span>
+<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">).</span><span class="identifier">type</span><span class="special"><</span><span class="identifier">ar_</span><span class="special">>()</span> <span class="special">)[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">99</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="misc/chain.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/adaptor____sub_range___.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/adaptor____sub_range___.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,122 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Adaptor __subrange_</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../misc.html" title="Miscellaneous">
+<link rel="prev" href="chain.html" title="Adaptor _chain">
+<link rel="next" href="../arity.html" title="Configuring arity">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../arity.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.misc.adaptor____sub_range___"></a><a class="link" href="adaptor____sub_range___.html" title="Adaptor __subrange_">Adaptor
+ <code class="computeroutput">__sub<span class="underline">range</span>_</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.misc.adaptor____sub_range___.header"></a><h5>
+<a name="id36343231"></a>
+ <a class="link" href="adaptor____sub_range___.html#boost_assign_v2.misc.adaptor____sub_range___.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/sub_range.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.misc.adaptor____sub_range___.description"></a><h5>
+<a name="id36343277"></a>
+ <a class="link" href="adaptor____sub_range___.html#boost_assign_v2.misc.adaptor____sub_range___.description">Description</a>
+ </h5>
+<p>
+ Wraps a container library (such as returned by <code class="computeroutput"><span class="identifier">__deque__</span></code>)
+ with extra capabilities, such as relational operators.
+ </p>
+<a name="boost_assign_v2.misc.adaptor____sub_range___.synopsis"></a><h5>
+<a name="id36343309"></a>
+ <a class="link" href="adaptor____sub_range___.html#boost_assign_v2.misc.adaptor____sub_range___.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">__sub_range</span><span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ [tpl_boost_itr <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">iterator_range</span><span class="special"><></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ ]
+ </p>
+<a name="boost_assign_v2.misc.adaptor____sub_range___.example"></a><h5>
+<a name="id36343422"></a>
+ <a class="link" href="adaptor____sub_range___.html#boost_assign_v2.misc.adaptor____sub_range___.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)</span>
+<span class="special">);</span> <span class="comment">//outputs xyz
+</span></pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../arity.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/chain.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/chain.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,215 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>_chain</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../misc.html" title="Miscellaneous">
+<link rel="prev" href="../misc.html" title="Miscellaneous">
+<link rel="next" href="sub_range.html" title="sub_range">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../misc.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sub_range.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.misc.chain"></a><a class="link" href="chain.html" title="_chain"><code class="computeroutput">_chain</code></a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">operator|()
</span></dt>
+<dt><span class="section">operator&&()
</span></dt>
+</dl></div>
+<a name="boost_assign_v2.misc.chain.header"></a><h5>
+<a name="id36342951"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.misc.chain.pipe"></a><a class="link" href="chain.html#boost_assign_v2.misc.chain.pipe" title="operator|()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">|()</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.misc.chain.pipe.header"></a><h6>
+<a name="id36343021"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.pipe.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/chain/pipe.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.misc.chain.pipe.description"></a><h6>
+<a name="id36343068"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.pipe.description">Description</a>
+ </h6>
+<p>
+ Adaptor <code class="computeroutput"><span class="identifier">_chain</span></code> is a <a href="http://www.boost.org/doc/libs/1_44_0/libs/range/doc/html/range/reference/adaptors.html" target="_top">range
+ adaptor</a> variant of join(),
+ that has the special property that it is lvalue-preserving : the reference
+ of an rvalue <a class="link" href="../ref.html" title="Ref">reference-array</a>
+ (constructed in place) that holds lvalues is treated as an lvalue.
+ </p>
+<a name="boost_assign_v2.misc.chain.pipe.synopsis"></a><h6>
+<a name="id36343119"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.pipe.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">|</span> _chain<span class="special">(</span>
+ r2 <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span>R1<span class="special">,</span>R2<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.misc.chain.short"></a><a class="link" href="chain.html#boost_assign_v2.misc.chain.short" title="operator&&()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">&&()</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.misc.chain.short.header"></a><h6>
+<a name="id36343271"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.short.header">header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/chain/short.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header has to be explicitly included
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.misc.chain.short.synopsis"></a><h6>
+<a name="id36343323"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.short.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">&&</span> r2 </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">|</span> _chain<span class="special">(</span>
+ r2 <span class="special">)</span> </code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<a name="boost_assign_v2.misc.chain.example"></a><h5>
+<a name="id36343426"></a>
+ <a class="link" href="chain.html#boost_assign_v2.misc.chain.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">(</span> <span class="number">2</span> <span class="special">);</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">vec</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">// outputs 0, 1, 2, 3, 4
+</span></pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">x</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">y</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="number">3</span><span class="special">,</span> <span class="identifier">x</span><span class="special">),</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="comment">/* lvalue */</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">y</span> <span class="comment">/* lvalue */</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="comment">/* rvalue */</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../misc.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sub_range.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/sub_range.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/misc/sub_range.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,116 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>sub_range</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../misc.html" title="Miscellaneous">
+<link rel="prev" href="chain.html" title="_chain">
+<link rel="next" href="../arity.html" title="Configuring arity">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../arity.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.misc.sub_range"></a><a class="link" href="sub_range.html" title="sub_range"><code class="computeroutput">sub_range</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.misc.sub_range.header"></a><h5>
+<a name="id36344273"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.misc.sub_range.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/misc/sub_range.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.misc.sub_range.description"></a><h5>
+<a name="id36344319"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.misc.sub_range.description">Description</a>
+ </h5>
+<p>
+ Wraps a container library with extra capabilities, such as relational operators.
+ </p>
+<a name="boost_assign_v2.misc.sub_range.synopsis"></a><h5>
+<a name="id36344341"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.misc.sub_range.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">sub_range<span class="special">(</span> cont <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ boost::iterator_range<>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.misc.sub_range.example"></a><h5>
+<a name="id36344449"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.misc.sub_range.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)</span>
+<span class="special">);</span> <span class="comment">//outputs xyz
+</span></pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../misc.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../arity.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/nil.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/nil.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,103 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>_nil</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="util/sub_range.html" title="sub_range">
+<link rel="next" href="arity.html" title="Configuring arity">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="util/sub_range.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.nil"></a><a class="link" href="nil.html" title="_nil"><code class="computeroutput">_nil</code></a>
+</h2></div></div></div>
+<a name="boost_assign_v2.nil.header"></a><h4>
+<a name="id36345784"></a>
+ <a class="link" href="nil.html#boost_assign_v2.nil.header">Header</a>
+ </h4>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword/nil.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.nil.synopsis"></a><h4>
+<a name="id36345829"></a>
+ <a class="link" href="nil.html#boost_assign_v2.nil.synopsis">Synopsis</a>
+ </h4>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_nil</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>implementation-defined</code></em></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.nil.description"></a><h4>
+<a name="id36345909"></a>
+ <a class="link" href="nil.html#boost_assign_v2.nil.description">Description</a>
+ </h4>
+<p>
+ If <code class="computeroutput">f</code> designates some container generating function, <code class="computeroutput">f<span class="special">(</span> _nil <span class="special">)</span></code> requests
+ that the returned container be empty. <sup>[<a name="id36345946" href="#ftn.id36345946" class="footnote">3</a>]</sup>
+ </p>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36345946" href="#id36345946" class="para">3</a>] </sup>
+ In particular, <code class="computeroutput">f<span class="special">()</span></code> usually returns
+ a container of size one, whose element is default initialized.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="util/sub_range.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="arity.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/org.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/org.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,124 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Organization</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="tut.html" title="Tutorial">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tut.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.org"></a><a class="link" href="org.html" title="Organization">Organization</a>
+</h2></div></div></div>
+<a name="boost_assign.org.headers"></a><h4>
+<a name="id36331575"></a>
+ <a class="link" href="org.html#boost_assign.org.headers">Headers</a>
+ </h4>
+<a name="org_headers"></a><p>
+ Using a given feature of this library requires no more than including the corresponding
+ header file. To find it, one can look inside either the organization by module
+ or the one by identifier.
+ </p>
+<p>
+ <span class="bold"><strong>By module</strong></span>
+ </p>
+<a name="full_include"></a><p>
+ In directory <code class="literal">boost/assign/v2</code>, all but within <code class="literal">boost/assign/v2/include</code>
+ and <code class="literal">boost/assign/v2/ref/include</code>, headers and directories
+ are organized according to the modular structure of this library. The following
+ statement includes most of the functionality <sup>[<a name="id36331625" href="#ftn.id36331625" class="footnote">2</a>]</sup>:
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>By identifier</strong></span>
+ </p>
+<p>
+ In directory <a class="link" href="reference/include.html" title="Include"><code class="literal">boost/assign/v2/include</code></a>
+ and <a class="link" href="reference/ref.html#ref_include"><code class="literal">boost/assign/v2/ref/include</code></a>
+ headers are named after an identifier that they define.
+ </p>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<p>
+ Headers in directory <a class="link" href="reference/option.html" title="Option"><code class="literal">boost/assign/v2/option</code></a>
+ overload <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>.
+ A header from this directory has to be included <span class="bold"><strong>after</strong></span>
+ that of the object to be passed as first argument to <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. . For example,
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">deque</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">option</span><span class="special">/</span><span class="identifier">data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ is right, but reversing the order is wrong.
+ </p>
+<a name="boost_assign.org.namespace"></a><h4>
+<a name="id36331885"></a>
+ <a class="link" href="org.html#boost_assign.org.namespace">Namespace</a>
+ </h4>
+<a name="org_ns"></a><p>
+ All library identifiers are within <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span></code>. The
+ nested namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">::</span><span class="identifier">ref</span></code>
+ is reserved for functionality dedicated to references.
+ </p>
+<a name="boost_assign.org.identifier_"></a><h4>
+<a name="id36331963"></a>
+ <a class="link" href="org.html#boost_assign.org.identifier_">Identifier </a>
+ </h4>
+<a name="org_id"></a><div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term">With prefix <code class="computeroutput"><span class="identifier">_</span></code></span></dt>
+<dd><p>
+ Returns an object that is the second argument to an operator overload.
+ </p></dd>
+<dt><span class="term">With prefix <code class="computeroutput"><span class="identifier">csv</span></code></span></dt>
+<dd><p>
+ Function that translates a functor to sucessive unary invocations of
+ the latter over the parameter list
+ </p></dd>
+</dl>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331625" href="#id36331625" class="para">2</a>] </sup>
+ A few headers are not included in that of their enclosing module. Where applicable,
+ this will be mentioned
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tut.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/portability.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/portability.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,362 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Portability</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="detail/config.html" title="Config">
+<link rel="next" href="change_log.html" title="Change log">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail/config.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="change_log.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.portability"></a><a class="link" href="portability.html" title="Portability">Portability</a>
+</h2></div></div></div>
+<p>
+ Here is the test suite.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ OS
+ </p>
+ </th>
+<th>
+ <p>
+ Compiler
+ </p>
+ </th>
+<th>
+ <p>
+ Option(s)
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="literal"> boost-trunk
</code>
+ <br> revision #
+ </p>
+ </th>
+<th>
+ <p>
+ Test
+ </p>
+ </th>
+<th>
+ <p>
+ Boost.Assign 2.0 <br> revision #
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.0
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69568</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.2
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69568</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Unix ( Fink)
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69568</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Unix ( Fink)
+ </p>
+ </td>
+<td>
+ <p>
+ gcc-4.4
+ </p>
+ </td>
+<td>
+ <p>
+ C++0x
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69568</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Mac OS X 10.6.5
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://llvm.org/releases/1.5/docs/ReleaseNotes.html" target="_top">LLVM
+ compiler 1.5</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Errors (find <code class="literal">BUG</code> in test files)
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69575</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc4.4
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ gcc4.4
+ </p>
+ </td>
+<td>
+ <p>
+ C++0x
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Ubuntu 10.04
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://software.intel.com/en-us/articles/intel-compilers/" target="_top">Intel
+ (R) C++ Compiler XE 12.0</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ <code class="literal">66823</code>
+ </p>
+ </td>
+<td>
+ <p>
+ passed
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">69577</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/windowsxp/pro/default.mspx" target="_top">Windows
+ XP </a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="http://www.microsoft.com/express/Downloads/#2010-Visual-CPP" target="_top">MSVC
+ 10.0</a>
+ </p>
+ </td>
+<td>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+<td>
+ <p>
+ Not available
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail/config.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="change_log.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,462 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Put</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="detail/config.html" title="Config">
+<link rel="next" href="put/deque.html" title="Deque">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail/config.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put/deque.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.put"></a><a class="link" href="put.html" title="Put">Put</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Adapter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Fun</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></dd>
+<dt><span class="section">Modifier</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dt><span class="section">Put</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.adapter"></a><a class="link" href="put.html#boost_assign_v2.put.adapter" title="Adapter">Adapter</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.adapter.header"></a><h5>
+<a name="id36337621"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/adapter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.adapter.description"></a><h5>
+<a name="id36337661"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.description">Description</a>
+ </h5>
+<p>
+ A framework for adapting a container's interface for inserting elements to
+ that of a functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.adapter.as_arg_list"></a><a class="link" href="put.html#boost_assign_v2.put.adapter.as_arg_list" title="As_arg_list">As_arg_list</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.adapter.as_arg_list.header"></a><h6>
+<a name="id36337689"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.as_arg_list.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/adapter/as_arg_list.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.adapter.as_arg_list.description"></a><h6>
+<a name="id36337731"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.as_arg_list.description">Description</a>
+ </h6>
+<p>
+ A function that, invoked with a given range,
+ returns a class wrapped around it that signals that the range's elements
+ are to be treated as a sequence of unary arguments to an adapter.
+ </p>
+<a name="boost_assign_v2.put.adapter.as_arg_list.synopsis"></a><h6>
+<a name="id36337758"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.as_arg_list.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">as_arg_list</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">_as_arg_list</span><span class="special">(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">_as_arg_list</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.adapter.crtp"></a><a class="link" href="put.html#boost_assign_v2.put.adapter.crtp" title="Crtp">Crtp</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.adapter.crtp.header"></a><h6>
+<a name="id36338053"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.crtp.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/adapter/crtp.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.adapter.crtp.description"></a><h6>
+<a name="id36338092"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.crtp.description">Description</a>
+ </h6>
+<p>
+ A CRTP
+ <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> with a variadic functor interface that maps arguments
+ to a value and inserts it in a container supplied by the derived class.
+ Each of the mapping and the insertion mechanism, termed a <span class="emphasis"><em>modifier</em></span>,
+ are specified by template paramaters.
+ </p>
+<a name="boost_assign_v2.put.adapter.crtp.synopsis"></a><h6>
+<a name="id36338127"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter1</span><span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter1</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">ref</span> <span class="special">=</span> <span class="identifier">derived</span><span class="special">.</span><span class="identifier">container</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter2</span> <span class="special">:</span> <span class="identifier">ConceptAdapter1</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">D</span><span class="special">>{</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="identifier">modifier_</span><span class="special">;</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter2</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">m</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">f</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">modifier_</span> <span class="identifier">m</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v22co" href="put.html#boost_assign_v22"><img src="../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v23co" href="put.html#boost_assign_v23"><img src="../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v24co" href="put.html#boost_assign_v24"><img src="../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v25co" href="put.html#boost_assign_v25"><img src="../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="ident
ifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_crtp</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span>
+ <span class="identifier">modifier_type</span><span class="special">;</span>
+
+ <span class="identifier">adapter_crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v22"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v23"></a> </p></td>
+<td valign="top" align="left"><p>
+ Functor
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v24"></a> </p></td>
+<td valign="top" align="left"><p>
+ Modifier tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v25"></a> </p></td>
+<td valign="top" align="left"><p>
+ Derived type
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.put.adapter.crtp.semantics"></a><h6>
+<a name="id36339110"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.crtp.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">cont</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">C</span></code>, supplied
+ by the derived class
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">F</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">put-adapter</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">D</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Side effect
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">put-adapter</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">range</span>
+ <span class="special">)</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">arg</span>
+ <span class="special">)</span></code> for each <code class="computeroutput"><span class="identifier">arg</span></code> in <code class="computeroutput"><span class="identifier">range</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">put-adapter</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.adapter.modifier"></a><a class="link" href="put.html#boost_assign_v2.put.adapter.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.adapter.modifier.header"></a><h6>
+<a name="id36339525"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/adapter/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.adapter.modifier.description"></a><h6>
+<a name="id36339566"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.modifier.description">Description</a>
+ </h6>
+<p>
+ A <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> with no default implementation, but whose specializations
+ are required to expose a particular interface for modifying a container.
+ </p>
+<a name="boost_assign_v2.put.adapter.modifier.synopsis"></a><h6>
+<a name="id36339592"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.adapter.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <a class="co" name="boost_assign_v26co" href="put.html#boost_assign_v26"><img src="../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">modifier_tag</span><span class="special">{}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v27co" href="put.html#boost_assign_v27"><img src="../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">adapter_modifier</span><span class="special">{};</span>
+
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_concept</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <a class="co" name="boost_assign_v28co" href="put.html#boost_assign_v28"><img src="../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <a class="co" name="boost_assign_v29co" href="put.html#boost_assign_v29"><img src="../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">Modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">Modifier</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">m</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">>&</span> <span class="identifier">m</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">t</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v26"></a> </p></td>
+<td valign="top" align="left"><p>
+ Template arguments to <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><></span></code> have to be declared within
+ this <code class="computeroutput"><span class="keyword">namespace</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v27"></a> </p></td>
+<td valign="top" align="left"><p>
+ Specialize on Tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v28"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v29"></a> </p></td>
+<td valign="top" align="left"><p>
+ Input
+ </p></td>
+</tr>
+</table></div>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail/config.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put/deque.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/adapter.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/adapter.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,434 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Adapter</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="../put.html" title="Put">
+<link rel="next" href="../ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.adapter"></a><a class="link" href="adapter.html" title="Adapter">Adapter</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.adapter.header"></a><h5>
+<a name="id36331781"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/adapter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.adapter.crtp"></a><a class="link" href="adapter.html#boost_assign_v2.put.adapter.crtp" title="Crtp">Crtp</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.adapter.crtp.description"></a><h6>
+<a name="id36331830"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.crtp.description">Description</a>
+ </h6>
+<p>
+ Fits a container with a functor interface that maps arguments to the an
+ instance of that container's value-type, and forwards this value to some
+ container's modifier.
+ </p>
+<a name="boost_assign_v2.put.adapter.crtp.synopsis"></a><h6>
+<a name="id36331850"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">C</span></code></span></dt>
+<dd><p>
+ Container
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
+<dd><p>
+ Functor
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">Tag</span></code></span></dt>
+<dd><p>
+ Modifier-tag
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">D</span></code></span></dt>
+<dd><p>
+ Derived
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">crtp</span><span class="special">{</span>
+
+ <span class="identifier">crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">);</span>
+
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.adapter.crtp.semantics"></a><h6>
+<a name="id36332408"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.crtp.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">cont</span></code></span></dt>
+<dd><p>
+ Internal copy of instance of <code class="computeroutput"><span class="identifier">C</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">F</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">D</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+<th>
+ <p>
+ Side effect
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em><span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">modifier<span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em><span class="special">(</span> <span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">range</span>
+ <span class="special">)</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-adapter</code></em><span class="special">(</span> <span class="identifier">arg</span>
+ <span class="special">)</span></code> for each <code class="computeroutput"><span class="identifier">arg</span></code> in <code class="computeroutput"><span class="identifier">range</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.adapter.crtp.examples"></a><h6>
+<a name="id36332820"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.crtp.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Numeric keyboard</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span><a class="co" name="boost_assign_v22co" href="adapter.html#boost_assign_v22"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span><a class="co" name="boost_assign_v23co" href="adapter.html#boost_assign_v23"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><
span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v22"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="literal">{<code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span> <span class="identifier">i</span> <span class="special">]</span> <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ : ( i, t ) = ( 0, "+" ), ..., ( 5, "." )}</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v23"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="literal">{<code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span> <span class="number">6</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">]</span> <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span>
+ <span class="special">*(</span> <span class="identifier">b</span>
+ <span class="special">+</span> <span class="identifier">i</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ : i = 0, ..., 9; b = <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">numeric</span>
+ <span class="special">)</span></code> }</code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Ragged array</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="identifier">data_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">variable_size_</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">a</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">a</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.71</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.63</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.85</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">b</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span> <span class="identifier">b</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.61</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.92</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.55</span><span class=
"special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">variable_size_</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">ragged</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">ragged</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v24co" href="adapter.html#boost_assign_v24"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">),</span> <span class="identifier">end</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">)</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v25co" href="adapter.html#boost_assign_v25"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">b</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v26co" href="adapter.html#boost_assign_v26"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v27co" href="adapter.html#boost_assign_v27"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="special">(</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">0</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">3</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v24"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v25"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">b</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v26"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span>
+ <span class="special">-</span><span class="number">99.99</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v27"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Area codes</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="identifier">us_state_</span> <span class="special">[</span><span class="number">3</span><span class="special">];</span> <span class="identifier">us_state_</span> <span class="identifier">ct</span> <span class="special">=</span> <span class="string">"CT"</span><span class="special">,</span> <span class="identifier">nj</span> <span class="special">=</span> <span class="string">"NJ"</span><span class="special">,</span> <span class="identifier">ny</span> <span class="special">=</span> <span class="string">"NY"</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">area_code_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">tuple</span><span class="special"><</span><span class="identifier">us_state_</span><a class="co" name="boost_assign_v28co" href="adapter.html#boost_assign_v28"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">area_code_</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span> <span class="identifier">data_</span> <span class="special">></span> <span class="identifier">tri_state_area</span><span class="special">;</span>
+<a class="co" name="boost_assign_v29co" href="adapter.html#boost_assign_v29"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">tri_state_area</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">212</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">718</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">516</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">914</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">210</span> <span class="special">)(</span> <span class="
identifier">nj</span><span class="special">,</span> <span class="number">908</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">609</span> <span class="special">)(</span> <span class="identifier">ct</span><span class="special">,</span> <span class="number">203</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">ny</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">203</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v28"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the <span class="bold"><strong>reference</strong></span>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v29"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">tri_state</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">s</span><span class="special">,</span>
+ <span class="identifier">c</span> <span class="special">)</span>
+ <span class="special">)</span></code> for <code class="literal">( s, c ) = (
+ ny, 212 )...( ct, 203 ) </code>
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.adapter.modifier"></a><a class="link" href="adapter.html#boost_assign_v2.put.adapter.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.adapter.modifier.synopsis"></a><h6>
+<a name="id36335134"></a>
+ <a class="link" href="adapter.html#boost_assign_v2.put.adapter.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <a class="co" name="boost_assign_v210co" href="adapter.html#boost_assign_v210"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">modifier_tag</span><span class="special">{}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v211co" href="adapter.html#boost_assign_v211"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">adapter_modifier</span><span class="special">{};</span>
+
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_concept</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <a class="co" name="boost_assign_v212co" href="adapter.html#boost_assign_v212"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <a class="co" name="boost_assign_v213co" href="adapter.html#boost_assign_v213"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">Modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">Modifier</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">m</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">>&</span> <span class="identifier">m</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">t</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v210"></a> </p></td>
+<td valign="top" align="left"><p>
+ Template arguments to put_aux::adapter_modifier<> are declared
+ within this <code class="computeroutput"><span class="keyword">namespace</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v211"></a> </p></td>
+<td valign="top" align="left"><p>
+ Specialize on Tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v212"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v213"></a> </p></td>
+<td valign="top" align="left"><p>
+ Input
+ </p></td>
+</tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/cont.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/cont.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,429 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Container</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="deduce.html" title="Deduce">
+<link rel="next" href="deque.html" title="Deque">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deduce.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deque.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.cont"></a><a class="link" href="cont.html" title="Container">Container</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Functor</span></dt>
+<dt><span class="section">Range</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.cont.header"></a><h5>
+<a name="id36335965"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/container.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.cont.description"></a><h5>
+<a name="id36336005"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.description">Description</a>
+ </h5>
+<p>
+ Interface for modifying a container.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.cont.functor"></a><a class="link" href="cont.html#boost_assign_v2.put.cont.functor" title="Functor">Functor</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.cont.functor.header"></a><h6>
+<a name="id36336033"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.functor.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/container/functor.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.cont.functor.syntax"></a><h6>
+<a name="id36336073"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.functor.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter</span> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">crtp</span><span class="special"><</span> <span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">adapter</span> <span class="special">></span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">);</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span> <span class="comment">/* reference to external container */</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.cont.functor.meta"></a><h6>
+<a name="id36336467"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.functor.meta">Meta</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{</span> <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span>C<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter</span><span class="special"><</span>C<span class="special">,</span> <a class="link" href="deduce.html" title="Deduce"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deduce_fun</span><span class="special"><</span>C<span class="special">>::</span><span class="identifier">type</span></code></a><span class="special">,</span> <a class="link" href="deduce.html" title="Deduce"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deduce_modifier_tag</span><span class="special"><</span>C<span class="special">>::</span><span class="identifier">type</span></code></a><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.cont.functor.make"></a><h6>
+<a name="id36336751"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.functor.make">Make</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.cont.functor.example"></a><h6>
+<a name="id36336862"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.functor.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="keyword">const</span> <span class="identifier">ct_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span><span class="special"><</span><span class="identifier">ct_</span><a class="co" name="boost_assign_v27co" href="cont.html#boost_assign_v27"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">ct_</span> <span class="keyword">const</span> <span class="identifier">pi</span> <span class="special">=</span> <span class="number">3.14</span><span class="special">,</span> <span class="identifier">e</span> <span class="special">=</span> <span class="number">2.71</span><span class="special">,</span> <span class="identifier">log2</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">,</span> <span class="identifier">na</span> <span class="special">=</span> <span class="number">0.0</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span><a class="co" name="boost_assign_v28co" href="cont.html#boost_assign_v28"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">pi</span><span class="special">,</span> <span class="string">"pi"</span> <span class="special">)(</span> <span class="identifier">e</span><span class="special">,</span> <span class="string">"e"</span> <span class="special">)(</span> <span class="identifier">log2</span><span class="special">,</span> <span class="string">"log2"</span> <span class=
"special">)</span><a class="co" name="boost_assign_v29co" href="cont.html#boost_assign_v29"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="identifier">na</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">pi</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"pi"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">na</span> <span class="special">);</span>
+<span class="identifier">T</span> <span class="identifier">t3</span> <span class="special">=</span> <span class="identifier">T</span><span class="special">(</span> <span class="identifier">na</span> <span class="special">);</span> <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">t3</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v27"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v28"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the binary calls
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v29"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the unary call
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.cont.range"></a><a class="link" href="cont.html#boost_assign_v2.put.cont.range" title="Range">Range</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.cont.range.header"></a><h6>
+<a name="id36337574"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.range.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/container/range.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.cont.range.syntax"></a><h6>
+<a name="id36337614"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.range.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">,</span> <span class="keyword">typename</span> R<span class="special">></span> C<span class="special">&</span> <span class="identifier">put_range</span><span class="special">(</span>C<span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> R <span class="keyword">const</span><span class="special">&</span> r<span class="special">);</span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">,</span> <span class="keyword">typename</span> R<span class="special">></span> C <span class="identifier">put_range</span><span class="special">(</span> R <span class="keyword">const</span><span class="special">&</span> r <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Parameters</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Container to modify (first oveload) or return (second overload)
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">R</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Input range
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.cont.range.semantics"></a><h6>
+<a name="id36337843"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.range.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">n</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">size</span><span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">t<span class="special">[</span>i<span class="special">]</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">next</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span>
+ i <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+<th>
+ <p>
+ Side effect
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">put_range<span class="special">(</span> cont<span class="special">,</span> r <span class="special">);</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">put<span class="special">(</span> cont <span class="special">)(</span> t<span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">)...(</span> t<span class="special">[</span>n<span class="special">]</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">put_range<span class="special"><</span>C<span class="special">>(</span> r <span class="special">);</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ A container of type <code class="computeroutput">C</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Calls <code class="computeroutput">put_range<span class="special">(</span> cont<span class="special">,</span> r <span class="special">)</span></code>,
+ with <code class="computeroutput">cont</code> as the container to be returned
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.cont.range.example"></a><h6>
+<a name="id36338242"></a>
+ <a class="link" href="cont.html#boost_assign_v2.put.cont.range.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">x</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">y</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">stack</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">lifo_</span><span class="special">;</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put_range</span><span class="special"><</span><span class="identifier">lifo_</span><span class="special">>(</span> <span class="identifier">r</span> <span class="special">).</span><span class="identifier">top</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">z</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deduce.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deque.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/container.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/container.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,70 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Container</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="../put.html" title="Put">
+<link rel="next" href="fun.html" title="Fun">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="fun.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.container"></a><a class="link" href="container.html" title="Container">Container</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.container.header"></a><h5>
+<a name="id36334186"></a>
+ <a class="link" href="container.html#boost_assign_v2.put.container.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/container.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.container.description"></a><h5>
+<a name="id36334225"></a>
+ <a class="link" href="container.html#boost_assign_v2.put.container.description">Description</a>
+ </h5>
+<a name="boost_assign_v2.put.container.synopsis"></a><h5>
+<a name="id36334240"></a>
+ <a class="link" href="container.html#boost_assign_v2.put.container.synopsis">Synopsis</a>
+ </h5>
+<a name="boost_assign_v2.put.container.semantics"></a><h5>
+<a name="id36334254"></a>
+ <a class="link" href="container.html#boost_assign_v2.put.container.semantics">Semantics</a>
+ </h5>
+<a name="boost_assign_v2.put.container.example"></a><h5>
+<a name="id36334268"></a>
+ <a class="link" href="container.html#boost_assign_v2.put.container.example">Example</a>
+ </h5>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="fun.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deduce.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deduce.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,310 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Deduce</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="../put.html" title="Put">
+<link rel="next" href="cont.html" title="Container">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="cont.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.deduce"></a><a class="link" href="deduce.html" title="Deduce">Deduce</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Fun</span></dt>
+<dt><span class="section">Modifier_tag</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.deduce.header"></a><h5>
+<a name="id36335082"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/deduce.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deduce.description"></a><h5>
+<a name="id36335122"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.description">Description</a>
+ </h5>
+<p>
+ Components of the implementation, statically deduced from the input, usually
+ taken as the default ones
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.deduce.fun"></a><a class="link" href="deduce.html#boost_assign_v2.put.deduce.fun" title="Fun">Fun</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.deduce.fun.header"></a><h6>
+<a name="id36335150"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.fun.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/deduce/fun.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deduce.fun.syntax"></a><h6>
+<a name="id36335190"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.fun.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <span class="keyword">struct</span> <span class="identifier">deduce_fun</span><span class="special">{</span> <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deduce.fun.semantics"></a><h6>
+<a name="id36335291"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.fun.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="computeroutput">C</code>
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ By value
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../detail.html#boost_assign_v2.detail.functor.constructor" title="Constructor"><code class="computeroutput"><span class="identifier">funtor_aux</span><span class="special">::</span><span class="identifier">constructor</span><span class="special"><</span><span class="identifier">C</span><span class="special">::</span><span class="identifier">value_type</span><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Pointer
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../detail.html#boost_assign_v2.detail.functor.new" title="New"><code class="computeroutput"><span class="identifier">funtor_aux</span><span class="special">::</span><span class="identifier">new_</span><span class="special"><</span><span class="identifier">C</span><span class="special">::</span><span class="identifier">value_type</span><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ If the input is unary, and storage is by value, it might be more efficient
+ to <a class="link" href="modulo.html" title="Modulo">override</a> the default
+ with the <a class="link" href="../detail.html#boost_assign_v2.detail.functor.identity" title="Identity">identity</a>
+ functor.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.deduce.modifier_tag"></a><a class="link" href="deduce.html#boost_assign_v2.put.deduce.modifier_tag" title="Modifier_tag">Modifier_tag</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.deduce.modifier_tag.header"></a><h6>
+<a name="id36335492"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.modifier_tag.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/deduce/modifier_tag.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deduce.modifier_tag.syntax"></a><h6>
+<a name="id36335532"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.modifier_tag.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deduce_modifier_tag</span><span class="special">{</span> <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deduce.modifier_tag.semantics"></a><h6>
+<a name="id36335628"></a>
+ <a class="link" href="deduce.html#boost_assign_v2.put.deduce.modifier_tag.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Return type</strong></span>
+ </p>
+<p>
+ A tag on which <a class="link" href="../put.html#boost_assign_v2.put.frame.modifier" title="Modifier"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><></span></code></a>
+ is specialized
+ </p>
+<p>
+ <span class="bold"><strong>Value-container</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Container category
+ </p>
+ </th>
+<th>
+ <p>
+ <a class="link" href="../put.html#boost_assign_v2.put.frame.modifier" title="Modifier">Value</a>
+ </p>
+ </th>
+<th>
+ <p>
+ Section
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Associative
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ext.html" title="Ext">Ext</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <a href="http://www.boost.org/doc/libs/release/doc/html/array.html" target="_top">Static
+ arrays</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="std.html" title="Std">Std</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Adapters
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="std.html" title="Std">Std</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Sequence
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="std.html" title="Std">Std</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Pointer-container</strong></span>
+ </p>
+<p>
+ The tag associated with <code class="computeroutput"><span class="identifier">C</span></code>
+ is the same as that of its value counterpart.
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Associative pointer-containers are not dealt with at present.
+ </p></td></tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="cont.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deque.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/deque.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,451 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Deque</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="../put.html" title="Put">
+<link rel="next" href="fun.html" title="Fun">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="fun.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.deque"></a><a class="link" href="deque.html" title="Deque">Deque</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.deque.header"></a><h5>
+<a name="id36340030"></a>
+ <a class="link" href="deque.html#boost_assign_v2.put.deque.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span><span class="special"><</span>boost/assign/v2/put/deque.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deque.describe"></a><h5>
+<a name="id36340069"></a>
+ <a class="link" href="deque.html#boost_assign_v2.put.deque.describe">Describe</a>
+ </h5>
+<p>
+ In place construction of a de-que container that has the <a class="link" href="../put.html#boost_assign_v2.put.adapter.crtp" title="Crtp">adapter
+ interface</a>.
+ </p>
+<a name="boost_assign_v2.put.deque.synopsis"></a><h5>
+<a name="id36340092"></a>
+ <a class="link" href="deque.html#boost_assign_v2.put.deque.synopsis">Synopsis</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v210co" href="deque.html#boost_assign_v210"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deque_impl</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">deque_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+
+ <span class="comment">// Construct
+</span> <span class="identifier">deque_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">deque_adapter</span><span class="special">(</span> <span class="identifier">impl_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="comment">// Deque interface
+</span> <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">max_size</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span><span class="keyword">const</span><span class="special">;;</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">pop_front</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">pop_back</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">deque_adapter</span><span class="special">&</span> <span class="identifier">that</span><span class="special">);</span>
+
+ <span class="identifier">impl_</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v211co" href="deque.html#boost_assign_v211"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v212co" href="deque.html#boost_assign_v212"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v213co" href="deque.html#boost_assign_v213"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">deque</span><span class="special">(</span><span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v210"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v211"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v212"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v213"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Alernative syntax</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque_value</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_deque</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">...</span> <span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.deque.semantics"></a><h5>
+<a name="id36341534"></a>
+ <a class="link" href="deque.html#boost_assign_v2.put.deque.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>T<span class="special">,</span> f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>T<span class="special">,</span>
+ f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">deque_adapter</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>
+ T<span class="special">,</span>
+ <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deduce_fun</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>,</span>
+ <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">deduce_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>::</span><span class="identifier">type</span>
+<span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">remove_cv</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>
+ <span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><></span></code>
+ is needed if <code class="computeroutput">T</code> is a string literal
+ </p></td></tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span>deque<span class="special"><</span>T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span> _nil <span class="special">)(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="../put.html#boost_assign_v2.put.adapter.crtp" title="Crtp">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.put.deque.example"></a><h5>
+<a name="id36342645"></a>
+ <a class="link" href="deque.html#boost_assign_v2.put.deque.example">Example</a>
+ </h5>
+<a name="ex_put_deque"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C0</span><span class="special">;</span>
+<span class="identifier">C0</span> <span class="identifier">empty_cont</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">empty_cont</span><span class="special">(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">).</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">).</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C1</span><span class="special">;</span>
+<span class="identifier">C1</span> <span class="identifier">cont</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">).</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C0</span><span class="special">,</span> <span class="identifier">C1</span><span class="special">></span> <span class="special">));</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="identifier">assert</span><span class="special">(</span>
+ <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*>(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">)[</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"y"</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span>
+ <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)[</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"y"</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The examples above are minimal to avoid redundancies with those of <a class="link" href="put.html" title="Put"><code class="computeroutput">put<span class="special">()</span></code></a>,
+ which illustrate specific features of the <a class="link" href="../put.html#boost_assign_v2.put.adapter.crtp" title="Crtp">adapter
+ interface</a>, which is common to both. These examples are easy to translate
+ to <code class="computeroutput">deque<span class="special"><>()</span></code>
+ </p></td></tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="fun.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/ext.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/ext.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,371 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Ext</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="std.html" title="Std">
+<link rel="next" href="pipe.html" title="Pipe">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="std.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.ext"></a><a class="link" href="ext.html" title="Ext">Ext</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Iterate </span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Lookup </span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.ext.header"></a><h5>
+<a name="id36347935"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/ext.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.description"></a><h5>
+<a name="id36347981"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.description">Description</a>
+ </h5>
+<p>
+ Extended modifiers i.e. perform more complex tasks than, say, <code class="computeroutput"><span class="identifier">push_back</span><span class="special">()</span></code>.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.ext.iterate"></a><a class="link" href="ext.html#boost_assign_v2.put.ext.iterate" title="Iterate">Iterate </a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.ext.iterate.header"></a><h6>
+<a name="id36348030"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.iterate.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/ext/iterate.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.iterate.syntax"></a><h6>
+<a name="id36348076"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.iterate.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span> <span class="keyword">struct</span> <span class="identifier">iterate</span><span class="special">;</span> <span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><></span> <span class="keyword">class</span> <span class="identifier">modifier</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special">>;</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+
+<em class="replaceable"><code>unspecified</code></em> _iterate<span class="special">;</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.iterate.semantics"></a><h6>
+<a name="id36348213"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.iterate.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_iterate <span class="special">=</span> n</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> i<span class="special">++</span>
+ <span class="special">]</span> <span class="special">=</span>
+ t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ where <code class="computeroutput">i</code> is initialized to <code class="computeroutput">n</code>, if specified, zero
+ otherwise.
+ </p>
+<a name="boost_assign_v2.put.ext.iterate.example"></a><h6>
+<a name="id36348336"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.iterate.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_iterate</span> <span class="special">=</span> <span class="number">1</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">0</span> <span class="special">)(</span> <span class="number">1</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.ext.repeat"></a><a class="link" href="ext.html#boost_assign_v2.put.ext.repeat" title="Repeat">Repeat</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.ext.repeat.header"></a><h6>
+<a name="id36348711"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.repeat.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/ext/repeat.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.repeat.syntax"></a><h6>
+<a name="id36348756"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.repeat.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OldTag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">repeat</span><span class="special">{};</span> <span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OldTag</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">OldTag</span><span class="special">></span> <span class="special">>;</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+
+<em class="replaceable"><code>unspecified</code></em> _repeat<span class="special">;</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.repeat.semantics"></a><h6>
+<a name="id36348945"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.repeat.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">_repeat</span> <span class="special">=</span>
+ <span class="identifier">n</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">m</span> <span class="special">=</span>
+ <span class="identifier">n</span><span class="special">;</span>
+ <span class="keyword">while</span><span class="special">(--</span><span class="identifier">m</span><span class="special">)</span>
+ <em class="replaceable"><code>put-implementation</code></em></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ where <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em></code> is the implementation prior to passing the parameter.
+ </p>
+<a name="boost_assign_v2.put.ext.repeat.example"></a><h6>
+<a name="id36349089"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.repeat.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)(</span> <span class="special">-</span><span class="number">1</span> <span class="special">)(</span> <span class="number">0</span> <span class="special">)(</span> <span class="number">1</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.ext.lookup"></a><a class="link" href="ext.html#boost_assign_v2.put.ext.lookup" title="Lookup">Lookup </a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.ext.lookup.header"></a><h6>
+<a name="id36349412"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.lookup.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/ext/lookup.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.lookup.syntax"></a><h6>
+<a name="id36349459"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.lookup.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">lookup</span><span class="special">{};</span> <span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">modifier</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+<span class="special">}//</span><span class="identifier">put_aux</span>
+
+<em class="replaceable"><code>unspecified</code></em> _lookup<span class="special">;</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.ext.lookup.semantics"></a><h6>
+<a name="id36349645"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.lookup.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">key</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of an Associative
+ container's key
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_lookup <span class="special">=</span> f</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">=</span>
+ f<span class="special">(</span> cont<span class="special">[</span>
+ <span class="identifier">key</span> <span class="special">]</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.ext.lookup.example"></a><h6>
+<a name="id36349854"></a>
+ <a class="link" href="ext.html#boost_assign_v2.put.ext.lookup.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">cont</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">cont</span><span class="special">[</span><span class="string">"feb"</span><span class="special">]</span> <span class="special">=</span> <span class="number">29</span><span class="special">;</span> <span class="identifier">cont</span><span class="special">[</span><span class="string">"mar"</span><span class="special">]</span> <span class="special">=</span> <span class="number">32</span><span class="special">;</span> <span class="identifier">cont</span><span class="special">[</span><span class="string">"apr"</span><span class="special">]</span> <span class="special">=</span> <span class="number">30</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_lookup</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">-=</span> <span class="number">1</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)(</span> <span class="string">"feb"</span> <span class="special">)(</span> <span class="string">"mar"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="string">"feb"</span><span class="special">]</span> <span class="special">==</span> <span class="number">28</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="string">"mar"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="std.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/frame.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/frame.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,204 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Frame</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="../put.html" title="Put">
+<link rel="next" href="../ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.frame"></a><a class="link" href="frame.html" title="Frame">Frame</a>
+</h3></div></div></div>
+<p>
+ Something
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">crtp</span>
+
+ <span class="special">{</span>
+
+
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+
+ <span class="identifier">crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">)</span> <span class="special">:</span> <span class="identifier">fun_holder_</span><span class="special">(</span> <span class="identifier">f</span> <span class="special">){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">)</span>
+ <span class="special">:</span> <span class="identifier">fun_holder_</span><span class="special">(</span> <span class="identifier">f</span> <span class="special">),</span> <span class="identifier">modifier_holder_</span><span class="special">(</span> <span class="identifier">m</span> <span class="special">){}</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">return</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span> <span class="identifier">range</span><span class="special">(),</span> <span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">D</span><span class="special">>(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">()</span> <span class="special">)</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+
+<span class="preprocessor">#if</span> <span class="identifier">BOOST_ASSIGN_V2_ENABLE_CPP0X</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">modify</span><span class="special">(</span>
+ <a class="co" name="boost_assign_v22co" href="frame.html#boost_assign_v22"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="keyword">this</span><span class="special">-></span><span class="identifier">fun</span><span class="special">(</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">Args</span><span class="special">>(</span><span class="identifier">args</span><span class="special">)...</span> <span class="special">)</span>
+ <span class="special">);</span>
+ <span class="special">}</span>
+
+<span class="preprocessor">#else</span>
+ <span class="keyword">protected</span><span class="special">:</span>
+ <span class="keyword">typedef</span> <span class="identifier">functor_aux</span><span class="special">::</span><span class="identifier">crtp_unary_and_up</span><span class="special"><</span>
+ <span class="identifier">crtp</span><span class="special">,</span>
+ <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">always</span><span class="special"><</span><span class="identifier">result_type</span><span class="special">></span>
+ <span class="special">></span> <span class="identifier">super_t</span><span class="special">;</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+ <span class="keyword">using</span> <span class="identifier">super_t</span><span class="special">::</span><span class="keyword">operator</span><span class="special">();</span>
+
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()()</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">modify</span><span class="special">(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">fun</span><span class="special">()</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_MACRO</span><span class="special">(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">N</span><span class="special">,</span> <span class="identifier">data</span><span class="special">)</span> <span class="special">\</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="identifier">BOOST_PP_ENUM_PARAMS</span><span class="special">(</span><span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">)></span> <span class="special">\</span>
+ <span class="identifier">result_type</span> <span class="special">\</span>
+ <span class="identifier">impl</span><span class="special">(</span> <span class="identifier">BOOST_PP_ENUM_BINARY_PARAMS</span><span class="special">(</span><span class="identifier">N</span><span class="special">,</span> <span class="identifier">T</span><span class="special">,</span> <span class="special">&</span> <span class="identifier">_</span><span class="special">)</span> <span class="special">)</span><span class="keyword">const</span> <span class="special">\</span>
+ <span class="special">{</span> <span class="special">\</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">modify</span><span class="special">(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">fun</span><span class="special">(</span><span class="identifier">BOOST_PP_ENUM_PARAMS</span><span class="special">(</span><span class="identifier">N</span><span class="special">,</span><span class="identifier">_</span><span class="special">))</span> <span class="special">);</span> <span class="special">\</span>
+ <span class="special">}</span> <span class="special">\</span>
+<span class="comment">/**/</span>
+<span class="identifier">BOOST_PP_REPEAT_FROM_TO</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span>
+ <span class="identifier">BOOST_PP_INC</span><span class="special">(</span><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span><span class="special">),</span>
+ <span class="identifier">BOOST_ASSIGN_V2_MACRO</span><span class="special">,</span>
+ <span class="special">~</span>
+<span class="special">)</span>
+<span class="preprocessor">#undef</span> <span class="identifier">BOOST_ASSIGN_V2_MACRO</span>
+<span class="preprocessor">#endif</span> <span class="comment">// BOOST_ASSIGN_V2_ENABLE_CPP0X
+</span>
+ <span class="comment">// must be mutable
+</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">{</span> <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">().</span><span class="identifier">container</span><span class="special">();</span> <span class="special">}</span>
+
+ <span class="keyword">protected</span><span class="special">:</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ptr_enabler</span> <span class="special">:</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special"><</span>
+ <span class="identifier">container_traits</span><span class="special">::</span><span class="identifier">is_ptr_container</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span>
+ <span class="special">>{};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="identifier">modify</span><span class="special">(</span><span class="identifier">T</span><span class="special">*</span> <span class="identifier">t</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ptr_enabler</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span><span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">put_concept</span><span class="special">::</span><span class="identifier">Modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">C</span><span class="special">,</span> <span class="identifier">T</span><span class="special">*></span> <span class="identifier">concept_</span><span class="special">;</span>
+ <span class="identifier">BOOST_CONCEPT_ASSERT</span><span class="special">((</span> <span class="identifier">concept_</span> <span class="special">));</span>
+ <span class="keyword">this</span><span class="special">-></span><span class="identifier">modifier</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">().</span><span class="identifier">container</span><span class="special">(),</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">void</span> <span class="identifier">check_modifier</span><span class="special">(</span> <span class="identifier">BOOST_ASSIGN_V2_FORWARD_PARAM</span><span class="special">(</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">t</span><span class="special">)</span> <span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">put_concept</span><span class="special">::</span><span class="identifier">Modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">C</span><span class="special">,</span>
+<span class="preprocessor">#if</span> <span class="identifier">BOOST_ASSIGN_V2_ENABLE_CPP0X</span>
+ <span class="identifier">T</span><span class="special">&&</span>
+<span class="preprocessor">#else</span>
+ <span class="identifier">T</span><span class="special">&</span>
+<span class="preprocessor">#endif</span> <span class="comment">// BOOST_ASSIGN_V2_ENABLE_CPP0X
+</span> <span class="special">></span> <span class="identifier">concept_</span><span class="special">;</span>
+ <span class="identifier">BOOST_CONCEPT_ASSERT</span><span class="special">((</span> <span class="identifier">concept_</span> <span class="special">));</span>
+ <span class="special">}</span>
+
+<span class="preprocessor">#if</span> <span class="identifier">BOOST_ASSIGN_V2_ENABLE_CPP0X</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="identifier">modify</span><span class="special">(</span><span class="identifier">T</span><span class="special">&&</span> <span class="identifier">t</span><span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="identifier">check_modifier</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">);</span>
+ <a class="co" name="boost_assign_v23co" href="frame.html#boost_assign_v23"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="keyword">this</span><span class="special">-></span><span class="identifier">modifier</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span>
+ <a class="co" name="boost_assign_v24co" href="frame.html#boost_assign_v24"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">().</span><span class="identifier">container</span><span class="special">(),</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">forward</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span> <span class="identifier">t</span> <span class="special">)</span>
+ <span class="special">);</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">();</span>
+ <span class="special">}</span>
+<span class="preprocessor">#else</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="identifier">modify</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="identifier">check_modifier</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">this</span><span class="special">-></span><span class="identifier">modifier</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">().</span><span class="identifier">container</span><span class="special">(),</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="identifier">modify</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">)</span><span class="keyword">const</span>
+ <span class="special">{</span>
+ <span class="identifier">check_modifier</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">this</span><span class="special">-></span><span class="identifier">modifier</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">().</span><span class="identifier">container</span><span class="special">(),</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">return</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">derived</span><span class="special">();</span>
+ <span class="special">}</span>
+
+<span class="preprocessor">#endif</span> <span class="comment">// BOOST_ASSIGN_V2_ENABLE_CPP0X
+</span>
+ <span class="special">};</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v22"></a> </p></td>
+<td valign="top" align="left"><p>
+ Instance of F
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v23"></a> </p></td>
+<td valign="top" align="left"><p>
+ Instance of put_aux::modifier<Tag>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v24"></a> </p></td>
+<td valign="top" align="left"><p>
+ Reference to C
+ </p></td>
+</tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/fun.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/fun.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,371 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Fun</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="deque.html" title="Deque">
+<link rel="next" href="modifier.html" title="Modifier">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="modifier.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.fun"></a><a class="link" href="fun.html" title="Fun">Fun</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.fun.header"></a><h5>
+<a name="id36343554"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/fun.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.fun.description"></a><h5>
+<a name="id36343599"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.description">Description</a>
+ </h5>
+<p>
+ Aspects of an adapter's functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.fun.deduce"></a><a class="link" href="fun.html#boost_assign_v2.put.fun.deduce" title="Deduce">Deduce</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.fun.deduce.description"></a><h6>
+<a name="id36343633"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that maps a container's type to a functor
+ </p>
+<a name="boost_assign_v2.put.fun.deduce.synopsis"></a><h6>
+<a name="id36343654"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.deduce.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v214co" href="fun.html#boost_assign_v214"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v215co" href="fun.html#boost_assign_v215"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">deduce_fun_pointer</span>
+ <span class="special">{</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v216co" href="fun.html#boost_assign_v216"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v217co" href="fun.html#boost_assign_v217"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deduce_fun_value</span>
+ <span class="special">{</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v218co" href="fun.html#boost_assign_v218"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v219co" href="fun.html#boost_assign_v219"><img src="../../../../doc/src/images/callouts/6.png" alt="6" border="0"></a><span class="identifier">deduce_fun</span>
+ <span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v214"></a> </p></td>
+<td valign="top" align="left"><p>
+ Pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v215"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping the <code class="computeroutput"><span class="identifier">C</span></code>'s
+ pointer-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v216"></a> </p></td>
+<td valign="top" align="left"><p>
+ Value-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v217"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>'s
+ value-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v218"></a> </p></td>
+<td valign="top" align="left"><p>
+ Either of a value or pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v219"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>s
+ element-type to a factory thereof
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.fun.modulo"></a><a class="link" href="fun.html#boost_assign_v2.put.fun.modulo" title="Modulo">Modulo</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.fun.modulo.description"></a><h6>
+<a name="id36344007"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.modulo.description">Description</a>
+ </h6>
+<p>
+ Overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ that replace a <a class="link" href="../put.html#boost_assign_v2.put.adapter" title="Adapter">Put.Adapter</a>'s
+ functor
+ </p>
+<a name="boost_assign_v2.put.fun.modulo.synopsis"></a><h6>
+<a name="id36344049"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_fun</span>
+ <span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.fun.modulo.semantics"></a><h6>
+<a name="id36344140"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.modulo.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_fun</span> <span class="special">=</span>
+ <span class="identifier">f</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_fun</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with <code class="computeroutput"><span class="identifier">f</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.fun.modulo.customization"></a><h6>
+<a name="id36344355"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">FUN</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">EXPR</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">constructor</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">::</span><span class="identifier">functor_aux</span><span class="special">::</span><span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>)</span>
+ <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">identity</span><span class="special">,</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Instances</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_identity</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with an identity
+ functor
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with a constructor
+ for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">new_ptr</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with a functor returning
+ a pointer for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.fun.modulo.example"></a><h6>
+<a name="id36344776"></a>
+ <a class="link" href="fun.html#boost_assign_v2.put.fun.modulo.example">Example</a>
+ </h6>
+<a name="ex_put_fun"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">exponent</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">function</span><span class="special"><</span><span class="keyword">double</span><span class="special">(</span><span class="keyword">double</span><span class="special">)></span> <span class="identifier">f_</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">f_</span><span class="special">(</span> <span class="identifier">log10</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign_v220co" href="fun.html#boost_assign_v220"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="number">1000.0</span> <span class="special">)(</span> <span class="number">10.0</span> <span class="special">)(</span> <span class="number">10000.0</span> <span class="special">)(</span> <span class="number">1.0</span> <span class="special">)(</span> <span class="number">100.0</span> <span class="special">);</span>
+
+
+<span class="keyword">double</span> <span class="identifier">eps</span> <span class="special">=</span> <span class="identifier">numeric</span><span class="special">::</span><span class="identifier">bounds</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">smallest</span><span class="special">();</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">-</span> <span class="number">3.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">-</span> <span class="number">2.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v220"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">1000.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">10.0</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">10000.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">1.0</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">100.0</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">factorials</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special">*=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">i</span><span class="special">)++</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">)</span>
+ <span class="special">)</span><a class="co" name="boost_assign_v221co" href="fun.html#boost_assign_v221"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">()()()()()</span>
+<span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">factorials</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="special">(</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">factorials</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="special">(</span> <span class="number">120</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v221"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">factorials</span><span class="special">(</span> <span class="identifier">k</span> <span class="special">*=</span> <span class="identifier">i</span><span class="special">++</span> <span class="special">)</span></code>
+ for <code class="literal">i = 1, ..., 5</code>
+ </p></td>
+</tr></table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="modifier.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/insert.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/insert.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,68 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Insert</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="modifier.html" title="Modifier">
+<link rel="next" href="push.html" title="Push">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modifier.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.insert"></a><a class="link" href="insert.html" title="Insert">Insert</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.insert.header"></a><h5>
+<a name="id36337182"></a>
+ <a class="link" href="insert.html#boost_assign_v2.put.insert.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/insert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.insert.semantics"></a><h5>
+<a name="id36337222"></a>
+ <a class="link" href="insert.html#boost_assign_v2.put.insert.semantics">Semantics</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">modulo</span><span class="special">/</span><span class="identifier">standard</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">insert</span><span class="special">)</span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">insert</span><span class="special">/</span><span class="identifier">tag</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">insert</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modifier.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modifier.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modifier.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,1594 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Modifier</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="fun.html" title="Fun">
+<link rel="next" href="pipe.html" title="Pipe">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="fun.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.modifier"></a><a class="link" href="modifier.html" title="Modifier">Modifier</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.modifier.header"></a><h5>
+<a name="id36345845"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.description"></a><h5>
+<a name="id36345891"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.description">Description</a>
+ </h5>
+<p>
+ A meta-function for deducing a default modifier, and overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%()</span></code>
+ that replace a <a class="link" href="../put.html#boost_assign_v2.put.adapter" title="Adapter">Put.Adapter</a>'s
+ modifier
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.deduce"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Deduce</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.deduce.header"></a><h6>
+<a name="id36345947"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/deduce.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.deduce.description"></a><h6>
+<a name="id36345993"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that, based on a set of rules, maps a container's type
+ to a modifier
+ </p>
+<a name="boost_assign_v2.put.modifier.deduce.syntax"></a><h6>
+<a name="id36346015"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v222co" href="modifier.html#boost_assign_v222"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deduce_modifier_tag</span>
+ <span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v222"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function returning a modifier-tag
+ </p></td>
+</tr></table></div>
+<a name="boost_assign_v2.put.modifier.deduce.semantics"></a><h6>
+<a name="id36346131"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">C</span></code>
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">Tag</span></code>
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Associative
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Adapter
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ None of the above
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.modifier.deduce.customization"></a><h6>
+<a name="id36346356"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="comment">// The next 5 not override-able macros can be used for defining a custom switch
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_CASE</span><span class="special">(</span><span class="identifier">ModifierTag</span><span class="special">,</span> <span class="identifier">BooleanMetaFun</span><span class="special">,</span> <span class="identifier">Number</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ASSOCIATIVE</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::insert
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ARRAY</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::iterate<>
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ADAPTER</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_DEFAULT</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push_back
+</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH</span> <span class="comment">// Signals that a switch is already defined
+</span></pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.modulo"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo" title="Modulo">Modulo</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.modulo.header"></a><h6>
+<a name="id36346595"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/modulo.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.modulo.description"></a><h6>
+<a name="id36346641"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo.description">Description</a>
+ </h6>
+<p>
+ Overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ to replace an adapter's modifier
+ </p>
+<a name="boost_assign_v2.put.modifier.modulo.synopsis"></a><h6>
+<a name="id36346676"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v223co" href="modifier.html#boost_assign_v223"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v224co" href="modifier.html#boost_assign_v224"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">Arg</span> <span class="special">=</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">ignore</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">modulo_modifier</span><span class="special">(){}</span>
+ <span class="identifier">modulo_modifier</span><span class="special">(</span><span class="identifier">Arg</span> <span class="identifier">arg</span><span class="special">);</span>
+
+ <span class="identifier">Arg</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="keyword">operator</span><span class="special">=(</span><span class="keyword">const</span> <span class="identifier">Arg1</span><span class="special">&</span> <span class="identifier">arg1</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v225co" href="modifier.html#boost_assign_v225"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">meta_modifier_tag</span>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v226co" href="modifier.html#boost_assign_v226"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v227co" href="modifier.html#boost_assign_v227"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span><span class="special">{</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span>
+ <span class="special">{};</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span>
+ <span class="identifier">adapter_crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v223"></a> </p></td>
+<td valign="top" align="left"><p>
+ A class of modifiers
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v224"></a> </p></td>
+<td valign="top" align="left"><p>
+ A part of the modifier's implementation
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v225"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class to be specialized on Keyword
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v226"></a> </p></td>
+<td valign="top" align="left"><p>
+ Inherits <code class="computeroutput"><span class="identifier">adapter_crtp</span><span class="special"><></span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v227"></a> </p></td>
+<td valign="top" align="left"><p>
+ Returns a modifier-tag
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.modulo.semantics"></a><h6>
+<a name="id36347619"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <em class="replaceable"><code>put-modifier</code></em> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.modifier.modulo.customization"></a><h6>
+<a name="id36347708"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span> <span class="identifier">unspecified</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span></code>
+ on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>
+ to return <code class="computeroutput"><span class="identifier">Result</span></code><sup>[<a name="id36347920" href="#ftn.id36347920" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Creates a class <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">keyword_Name</span></code>,
+ and a <code class="computeroutput"><span class="keyword">const</span></code> instance
+ thereof, <code class="computeroutput"><span class="identifier">_Name</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id36347920" href="#id36347920" class="para">a</a>] </sup>
+ <code class="computeroutput"><span class="identifier">Result</span></code> may
+ be expressed in terms of <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p></div></td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup><col></colgroup>
+<thead><tr><th>
+ <p>
+ Requirement
+ </p>
+ </th></tr></thead>
+<tbody><tr><td>
+ <p>
+ Specialize <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">Result</span><span class="special">></span></code> on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>.
+ See <a class="link" href="../put.html#boost_assign_v2.put.adapter.modifier" title="Modifier">Adapter.Modifier</a>
+ </p>
+ </td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.insert"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert" title="Insert">Insert</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.insert.header"></a><h6>
+<a name="id36348200"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/insert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.insert.description"></a><h6>
+<a name="id36348246"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard" title="Standard">Standard modifier</a>
+ </p>
+<a name="boost_assign_v2.put.modifier.insert.semantics"></a><h6>
+<a name="id36348275"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_insert</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated modifier.
+ In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.insert.example"></a><h6>
+<a name="id36348419"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Set</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">letters</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_insert</span> <span class="special">)(</span> <span class="string">"d"</span> <span class="special">)(</span> <span class="string">"a"</span> <span class="special">)(</span> <span class="string">"c"</span> <span class="special">)(</span> <span class="string">"b"</span> <span class="special">);<
/span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="string">"a"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="string">"d"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.iterate"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate" title="Iterate">Iterate</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.iterate.header"></a><h6>
+<a name="id36348766"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/iterate.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.iterate.description"></a><h6>
+<a name="id36348813"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate.description">Description</a>
+ </h6>
+<a name="boost_assign_v2.put.modifier.iterate.synopsis"></a><h6>
+<a name="id36348832"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em> <span class="special">></span> <span class="keyword">struct</span> <span class="identifier">iterate</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_iterate</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">put_aux</span>
+
+<span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">keyword_iterate</span> <span class="keyword">const</span> <span class="identifier">_iterate</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.iterate.semantics"></a><h6>
+<a name="id36349068"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_iterate</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">arg</span><span class="special">()</span> <span class="special">]</span>
+ <span class="special">=</span> t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_iterate</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_iterate</span> <span class="special">=</span>
+ <span class="identifier">arg</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ If omitted, <code class="computeroutput"><span class="identifier">arg</span><span class="special">()</span></code>
+ is equivalent to <code class="computeroutput"><span class="identifier">i</span><span class="special">++</span></code>
+ for some <code class="computeroutput"><span class="identifier">i</span></code> initialized
+ at zero.
+ </p>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated modifier.
+ In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.iterate.example"></a><h6>
+<a name="id36349688"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.iterate.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_iterate"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="identifier">shift</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">shift</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">10</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">==</span> <span class="number">100</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">==</span> <span class="number">1000</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.lookup"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup" title="Lookup">Lookup</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.lookup.header"></a><h6>
+<a name="id36350167"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/lookup.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.lookup.description"></a><h6>
+<a name="id36350213"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup.description">Description</a>
+ </h6>
+<p>
+ An alternative modifier that is suitable for associative containers
+ </p>
+<a name="boost_assign_v2.put.modifier.lookup.synopsis"></a><h6>
+<a name="id36350235"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">lookup</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_lookup</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">put_aux</span>
+
+ <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">keyword_lookup</span> <span class="keyword">const</span> <span class="identifier">_lookup</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.lookup.semantics"></a><h6>
+<a name="id36350463"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_lookup</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ <span class="identifier">key</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">=</span>
+ <span class="identifier">arg</span><span class="special">(</span>
+ cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_lookup</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Pre-condition</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Requirement
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result</span><span class="special">-</span><span class="identifier">type</span></code> of <code class="computeroutput">put-adapter</code>'s
+ functor
+ </p>
+ </td>
+<td>
+ <p>
+ convertible to <code class="computeroutput">C<span class="special">::</span><span class="identifier">key_type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_lookup</span> <span class="special">=</span>
+ <span class="identifier">arg</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ The precondition is usually not met by default. In common cases, this suffices:
+
+</p>
+<pre class="programlisting">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">_lookup</span> <span class="special">=</span> <span class="identifier">arg</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.lookup.example"></a><h6>
+<a name="id36351353"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.lookup.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_lookup"></a><p>
+ [test_put_modifier_lookup_map]
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.push"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.push" title="Push">Push</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.push.header"></a><h6>
+<a name="id36351395"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/push.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.push.description"></a><h6>
+<a name="id36351442"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard" title="Standard">Standard modifier</a>
+ </p>
+<a name="boost_assign_v2.put.modifier.push.semantics"></a><h6>
+<a name="id36351470"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated modifier.
+ In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.push.example"></a><h6>
+<a name="id36351614"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">fifo</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.push_back"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back" title="Push_back">Push_back</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.push_back.header"></a><h6>
+<a name="id36351865"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/push_back.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.push_back.description"></a><h6>
+<a name="id36351912"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard" title="Standard">Standard modifier</a>
+ </p>
+<a name="boost_assign_v2.put.modifier.push_back.semantics"></a><h6>
+<a name="id36351941"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push_back</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated modifier.
+ In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.push_back.example"></a><h6>
+<a name="id36352085"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">int_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_back</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">list</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">list</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.push_front"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front" title="Push_front">Push_front</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.push_front.header"></a><h6>
+<a name="id36352357"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/push_front.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.push_front.description"></a><h6>
+<a name="id36352404"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard" title="Standard">Standard modifier</a>
+ </p>
+<a name="boost_assign_v2.put.modifier.push_front.semantics"></a><h6>
+<a name="id36352433"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push_front</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_front</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated modifier.
+ In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modifier.push_front.example"></a><h6>
+<a name="id36352578"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_push_front"></a><p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">sqrt2</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">1.41421</span> <span class="special">)(</span> <span class="number">1.4142</span> <span class="special">)(</span> <span class="number">1.414</span> <span class="special">)(</span> <span class="number">1.41</span> <span class="special">);</span>
+
+
+<span class="comment">// TODO abs()<eps
+</span><span class="identifier">assert</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41421</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.repeat"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat" title="Repeat">Repeat</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.repeat.header"></a><h6>
+<a name="id36352936"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/repeat.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.repeat.description"></a><h6>
+<a name="id36352982"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat.description">Description</a>
+ </h6>
+<a name="boost_assign_v2.put.modifier.repeat.synopsis"></a><h6>
+<a name="id36353000"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">repeat</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_repeat</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">put_aux</span>
+
+ <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">keyword_repeat</span> <span class="keyword">const</span> <span class="identifier">_repeat</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.repeat.semantics"></a><h6>
+<a name="id36353227"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="number">0</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">m</span> <span class="special">=</span>
+ <span class="identifier">n</span><span class="special">;</span>
+ <span class="keyword">while</span><span class="special">(</span><span class="identifier">m</span><span class="special">--)</span>
+ <em class="replaceable"><code>put-modifier</code></em><span class="number">0</span><span class="special">(</span>
+ cont<span class="special">,</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_repeat</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_repeat</span> <span class="special">=</span>
+ <span class="identifier">n</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.modifier.repeat.example"></a><h6>
+<a name="id36353836"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.repeat.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_repeat"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">size</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modifier.standard"></a><a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard" title="Standard">Standard</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modifier.standard.header"></a><h6>
+<a name="id36354404"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/standard.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.standard.description"></a><h6>
+<a name="id36354451"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.description">Description</a>
+ </h6>
+<p>
+ A standard modifier template.
+ </p>
+<a name="boost_assign_v2.put.modifier.standard.synopsis"></a><h6>
+<a name="id36354474"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_standard_modifier</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+
+<span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">keyword_standard_modifier</span> <span class="keyword">const</span> <span class="identifier">_standard_modifier</span><span class="special">;</span>
+
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.standard.semantics"></a><h6>
+<a name="id36354626"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code><modifier_tag::FUN>`
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Defines <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>
+ as an empty class.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code>
+ on <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>,
+ such that <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code> forwards to the modifier
+ of <code class="computeroutput">cont</code> named FUN, using move semantics where possible.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.put.modifier.standard.example"></a><h6>
+<a name="id36355000"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modifier.standard.instances"></a><h6>
+<a name="id36355063"></a>
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.standard.instances">Instances</a>
+ </h6>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.insert" title="Insert">Insert</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push" title="Push">Push</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_back" title="Push_back">Push_back</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="modifier.html#boost_assign_v2.put.modifier.push_front" title="Push_front">Push_front</a>
+ </li>
+</ul></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="fun.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modulo.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/modulo.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,801 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Modulo</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="deque.html" title="Deque">
+<link rel="next" href="std.html" title="Std">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="std.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.modulo"></a><a class="link" href="modulo.html" title="Modulo">Modulo</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Ext</span></dt>
+<dt><span class="section">Fun</span></dt>
+<dt><span class="section">Modifier</span></dt>
+<dt><span class="section">Std</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.modulo.header"></a><h5>
+<a name="id36340770"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modulo.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.description"></a><h5>
+<a name="id36340809"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.description">Description</a>
+ </h5>
+<p>
+ Interface for overriding the components of the implementation.
+ </p>
+<a name="boost_assign_v2.put.modulo.semantics"></a><h5>
+<a name="id36340827"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>param</code></em></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A user-specified parameter as rhs of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%()</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em> <span class="special">%</span> <em class="replaceable"><code>param</code></em></code>
+ </p>
+ </td>
+<td>
+ <p>
+ An implementation with a new type or state
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ This extends without difficulty to an arbitrary number of <a class="link" href="modulo.html" title="Modulo">modulo</a>
+ parameters. In other words, the mechanism is composable.
+ </p>
+<p>
+ There are two pre-defined values for <code class="computeroutput"><em class="replaceable"><code>param</code></em></code>, the type of <code class="computeroutput">_fun</code>
+ and that of <code class="computeroutput">_std</code>, which are described in the following sections.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modulo.ext"></a><a class="link" href="modulo.html#boost_assign_v2.put.modulo.ext" title="Ext">Ext</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modulo.ext.header"></a><h6>
+<a name="id36341028"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.ext.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modulo/ext.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.ext.frame"></a><h6>
+<a name="id36341068"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.ext.frame">Frame</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_parameter</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">traits</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">F</span> <span class="identifier">fun_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">Tag</span> <span class="identifier">modifier_tag</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special"><</span><span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">put_parameter</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of_modulo</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ext</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">FParameter</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of_modulo</span>
+</pre>
+<p>
+ </p>
+<a name="ext_macro"></a><a name="boost_assign_v2.put.modulo.ext.macro"></a><h6>
+<a name="id36341381"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.ext.macro">Macro</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_EXT_XXX</span><span class="special">(</span><em class="replaceable"><code>param</code></em><span class="special">)\</span>
+ <em class="replaceable"><code>unspecified</code></em><span class="special">\</span>
+<span class="comment">/**/</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Parameters</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Parameter
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <em class="replaceable"><code>param</code></em>
+ </p>
+ </td>
+<td>
+ <p>
+ A name identifying a custom implementation
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Requirements</strong></span>
+ </p>
+<p>
+ In each step below, the user is required to write a piece of code <span class="emphasis"><em>within</em></span>
+ <code class="computeroutput"><span class="keyword">namespace</span></code> <code class="computeroutput">boost::assign::v2</code>.
+ The notation <code class="computeroutput"><span class="keyword">typename</span><span class="special">...</span></code>,
+ here, is not a variadic template parameter. It means that the choice of
+ template parameters are unspecified.
+ </p>
+<div class="orderedlist"><ol class="orderedlist" type="1">
+<li class="listitem">
+ Define
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <em class="replaceable"><code>param</code></em>
+ <span class="special">{</span>
+ <span class="comment">// Constructor
+</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">arg</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+ </li>
+<li class="listitem">
+ Define
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <em class="replaceable"><code>param_keyword</code></em>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <em class="replaceable"><code>param</code></em><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="keyword">operator</span><span class="special">=(</span><span class="identifier">Arg</span> <span class="keyword">const</span><span class="special">&);</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+</pre>
+ where <code class="computeroutput"><span class="identifier">Arg</span></code> is the type
+ of <code class="literal"><em class="replaceable"><code>param_arg</code></em></code>.
+ </li>
+<li class="listitem">
+ Define
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="special">...></span> <span class="keyword">struct</span> <em class="replaceable"><code>param</code></em><span class="special">{};</span>
+
+<span class="special">}</span>
+</pre>
+ </li>
+<li class="listitem">
+ Define
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_parameter</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <em class="replaceable"><code>param</code></em><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OldFun</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">OldTag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span> <span class="comment">// must derive from put_parameter::traits<>
+</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+ </li>
+<li class="listitem">
+ Specialize the <a class="link" href="../put.html#boost_assign_v2.put.frame.modifier" title="Modifier">frame
+ component</a>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="special">...></span>
+ <span class="keyword">struct</span> <span class="identifier">modifier</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span><em class="replaceable"><code>param</code></em><span class="special"><...></span> <span class="special">>;</span>
+
+<span class="special">}</span>
+</pre>
+ such that its constructor takes as argument the result of <code class="computeroutput"><span class="special">(</span> <em class="replaceable"><code>_param</code></em> <span class="special">=</span> <em class="replaceable"><code>param_arg</code></em> <span class="special">).</span><span class="identifier">arg</span><span class="special">()</span></code>.
+ </li>
+</ol></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The template parameter <code class="computeroutput"><span class="identifier">Arg</span></code>
+ may be unnecessary. Refer to the examples below, to learn how to do away
+ with it
+ </p></td></tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_EXT_XXX</span><span class="special">(</span><em class="replaceable"><code>param</code></em><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ Expands to
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of_modulo</span><span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <em class="replaceable"><code>param</code></em>
+ <span class="special">:</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span>
+ <span class="identifier">result_of_modulo</span><span class="special">::</span><span class="identifier">ext</span><span class="special"><</span><span class="identifier">D</span><span class="special">></span>
+ <span class="special">,</span> <span class="identifier">put_parameter</span><span class="special">::</span><em class="replaceable"><code>param</code></em><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span>
+ <span class="special">></span>
+ <span class="special">{};</span>
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of_modulo</span><span class="special">::</span><em class="replaceable"><code>param</code></em><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span><span class="identifier">crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">put_aux</span><span class="special">::</span><em class="replaceable"><code>param</code></em><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+<span class="keyword">namespace</span><span class="special">{</span>
+ <span class="identifier">put_aux</span><span class="special">::</span><em class="replaceable"><code>param_keyword</code></em> <span class="keyword">const</span> <em class="replaceable"><code>_param</code></em><span class="special">;</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ such that
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup><col></colgroup>
+<thead><tr><th>
+ <p>
+ Expression
+ </p>
+ </th></tr></thead>
+<tbody><tr><td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em> <span class="special">%</span> <span class="special">(</span><em class="replaceable"><code>_param</code></em> <span class="special">=</span> <em class="replaceable"><code>param_arg</code></em><span class="special">)</span></code>
+ </p>
+ </td></tr></tbody>
+</table></div>
+<p>
+ are valid expressions.
+ </p>
+<a name="boost_assign_v2.put.modulo.ext.intances"></a><h6>
+<a name="id36342845"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.ext.intances">Intances</a>
+ </h6>
+<p>
+ <a class="link" href="ext.html" title="Ext">Put::Ext</a>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modulo.fun"></a><a class="link" href="modulo.html#boost_assign_v2.put.modulo.fun" title="Fun">Fun</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modulo.fun.header"></a><h6>
+<a name="id36342886"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.fun.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modulo/fun.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.fun.syntax"></a><h6>
+<a name="id36342932"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.fun.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of_modulo</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">fun</span><span class="comment">/* Specialize on D(erived) */</span><span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_fun</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F1</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span><span class="identifier">result_of_modulo</span><span class="special">::</span><span class="identifier">fun</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">F1</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span>
+ <span class="identifier">crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span>
+ <span class="identifier">modulo_fun</span><span class="special"><</span><span class="identifier">F1</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+
+<em class="replaceable"><code>unspecified</code></em> _fun<span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.fun.semantics"></a><h6>
+<a name="id36343406"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.fun.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_fun <span class="special">=</span> f</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">put_modulo_aux</span><span class="special">::</span><span class="identifier">fun</span><span class="special"><</span><span class="identifier">F</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em> <span class="special">%</span> <span class="special">(</span>_fun
+ <span class="special">=</span> f<span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces the internal functor of <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em></code> by <code class="computeroutput">f</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Common candidates for <code class="computeroutput">f</code> are in section <a class="link" href="../detail.html#boost_assign_v2.detail.functor" title="Functor">Detail::Functor</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.modulo.fun.example"></a><h6>
+<a name="id36343595"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.fun.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">arg_names</span><span class="special">::</span><span class="identifier">arg1</span> <span class="special">+</span> <span class="number">1</span> <span class="special">)</span>
+<span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="special">(</span> <span class="identifier">x</span> <span class="special">+</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="special">(</span> <span class="identifier">z</span> <span class="special">+</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modulo.modifier"></a><a class="link" href="modulo.html#boost_assign_v2.put.modulo.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modulo.modifier.header"></a><h6>
+<a name="id36344020"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modulo/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.modifier.syntax"></a><h6>
+<a name="id36344067"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.modifier.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of_modulo</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">modifier</span> <span class="comment">/* Specialize on D(erived) */</span><span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of_modulo</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.modulo.std"></a><a class="link" href="modulo.html#boost_assign_v2.put.modulo.std" title="Std">Std</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.modulo.std.header"></a><h6>
+<a name="id36344221"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.std.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modulo/std.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.std.syntax"></a><h6>
+<a name="id36344267"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.std.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">modulo_std</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag1</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span><span class="identifier">result_of_modulo</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">Tag1</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span><span class="identifier">crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">modulo_std</span><span class="special"><</span><span class="identifier">Tag1</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span><span class="special">);</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span>_std <span class="special">=</span>
+ <em class="replaceable"><code>tag</code></em><span class="special">()</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modulo_std</span><span class="special"><</span><em class="replaceable"><code>tag</code></em><span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em> <span class="special">%</span> <span class="special">(</span>_std
+ <span class="special">=</span> <em class="replaceable"><code>tag</code></em><span class="special">()</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces the internal modifier of <code class="computeroutput"><em class="replaceable"><code>put-implementation</code></em></code> by an instance
+ of <a class="link" href="../put.html#boost_assign_v2.put.frame.modifier" title="Modifier"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><em class="replaceable"><code>tag</code></em><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="concept_std"></a><a name="boost_assign_v2.put.modulo.std.concept"></a><h6>
+<a name="id36344830"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.std.concept">Concept</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<p>
+ A <code class="computeroutput"><span class="keyword">class</span></code> <code class="computeroutput"><em class="replaceable"><code>tag</code></em></code> models
+ concept <code class="literal">Std</code> if <code class="computeroutput"><span class="keyword">class</span></code>
+ <a class="link" href="../put.html#boost_assign_v2.put.frame.modifier" title="Modifier"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><em class="replaceable"><code>tag</code></em><span class="special">></span></code></a>
+ satisfies:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Overloads of <code class="computeroutput"><span class="identifier">impl</span><span class="special">()</span></code>
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+<th>
+ <p>
+ Invariant
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">void</span> <span class="identifier">impl</span><span class="special">(</span>C<span class="special">&</span> cont<span class="special">,</span> T<span class="special">&&</span> t<span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Passes <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">move</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ to <code class="computeroutput">cont</code>'s interface.
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">size</span><span class="special">()</span></code> is increased by one.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">void</span> <span class="identifier">impl</span><span class="special">(</span>C<span class="special">&</span> cont<span class="special">,</span> T<span class="special">&</span> t<span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Passes <code class="computeroutput">t</code> (by reference) to <code class="computeroutput">cont</code>'s interface.
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">size</span><span class="special">()</span></code> is increased by one.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="std_macro"></a><a name="boost_assign_v2.put.modulo.std.macro"></a><h6>
+<a name="id36345217"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.std.macro">Macro</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_STD_XXX</span><span class="special">(</span> <em class="replaceable"><code>tag</code></em> <span class="special">)</span> <span class="special">\</span>
+ <em class="replaceable"><code>unspecified</code></em>
+<span class="comment">/**/</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_STD_XXX</span><span class="special">(</span> <em class="replaceable"><code>tag</code></em> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ expands to
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span> <span class="keyword">struct</span> <em class="replaceable"><code>tag</code></em><span class="special">{};</span> <span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><></span>
+ <span class="keyword">class</span> <span class="identifier">modifier</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span> <em class="replaceable"><code>tag</code></em><span class="special">></span>
+ <span class="special">{</span>
+ <em class="replaceable"><code>unspecified</code></em>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+
+<span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">modulo_std</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span><em class="replaceable"><code>tag</code></em><span class="special">></span> <span class="keyword">const</span> <em class="replaceable"><code>_tag</code></em><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ such that <code class="computeroutput"><em class="replaceable"><code>tag</code></em></code> models concept <code class="literal">Std</code>, and
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>_tag</code></em></code>
+ </p>
+ </td>
+<td>
+ <p>
+ An instance of <a class="link" href="modulo.html#boost_assign_v2.put.modulo.modifier" title="Modifier"><code class="computeroutput"><span class="identifier">_modifier</span> <span class="special">=</span>
+ <span class="identifier">modifier_tag</span><span class="special">::</span><em class="replaceable"><code>tag</code></em><span class="special">()</span></code></a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">std</span><span class="special">/</span><span class="identifier">xxx</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_STD_XXX</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.modulo.std.models"></a><h6>
+<a name="id36345686"></a>
+ <a class="link" href="modulo.html#boost_assign_v2.put.modulo.std.models">Models</a>
+ </h6>
+<p>
+ <a class="link" href="std.html" title="Std">Put::Std</a>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="std.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/pipe.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/pipe.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,359 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Pipe</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="modifier.html" title="Modifier">
+<link rel="next" href="put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modifier.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.pipe"></a><a class="link" href="pipe.html" title="Pipe">Pipe</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.pipe.header"></a><h5>
+<a name="id36355151"></a>
+ <a class="link" href="pipe.html#boost_assign_v2.put.pipe.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/pipe.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.pipe.description"></a><h5>
+<a name="id36355196"></a>
+ <a class="link" href="pipe.html#boost_assign_v2.put.pipe.description">Description</a>
+ </h5>
+<p>
+ Overloads <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code><sup>[<a name="id36355223" href="#ftn.id36355223" class="footnote">4</a>]</sup>, such as to make <a class="link" href="put.html" title="Put"><code class="computeroutput"><span class="identifier">put</span><span class="special">()</span></code></a>
+ composable.
+ </p>
+<a name="boost_assign_v2.put.pipe.synopsis"></a><h5>
+<a name="id36355269"></a>
+ <a class="link" href="pipe.html#boost_assign_v2.put.pipe.synopsis">Synopsis</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="comment">// put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">put_pipe_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">enable_pars</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">size</span><span class="special"><</span><span class="identifier">ArgsList</span><span class="special">>::</span><span class="identifier">value</span> <span class="special">==</span> <span class="number">0</span>
+ <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">args_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="keyword">bool</span> <span class="identifier">enable_pars</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="identifier">enable_pars</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">args_list_</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">put_pipe_aux</span>
+
+ <span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_put</span> <span class="special">=</span> <span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><>();</span>
+
+<span class="comment">// csv_put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">put_pipe_aux</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">arg_list_size_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Pars</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">arg_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector0</span><span class="special"><></span> <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">arg_list_generator</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span><span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">N</span><span class="special">,</span> <span class="identifier">U</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg_list</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">put_pipe_aux</span>
+
+ <span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">arg_list_generator</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_csv_put</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.pipe.semantics"></a><h5>
+<a name="id36356060"></a>
+ <a class="link" href="pipe.html#boost_assign_v2.put.pipe.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Indivual elements of the argument list, <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"> <code class="computeroutput">p1, ..., pm</code> </span></dt>
+<dd><p>
+ Parameters passed in the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. The special case <code class="literal">m = 0</code>
+ means an empty list
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> _csv_put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments by reference (no copying)
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span> _put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">put_pipe_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments of each invocation by reference (no copying)
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _csv_put % p1 ...
+ % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _put % p1 ... % pm
+ <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Operator|</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">arg_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> t<span class="number">1</span> <span class="special">)...(</span> tn <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">args_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> <span class="identifier">args1</span> <span class="special">)...(</span> <span class="identifier">argsn</span> <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The semantics above are borrowed from <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">range
+ adaptors</a>, but they differ in that the latter transforms a range,
+ whereas, here, the state of a container is modified. In each case, however,
+ composability follows, which is explained here
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.put.pipe.example"></a><h5>
+<a name="id36356802"></a>
+ <a class="link" href="pipe.html#boost_assign_v2.put.pipe.example">Example</a>
+ </h5>
+<a name="ex_put_pipe"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">assert</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <a class="co" name="boost_assign_v228co" href="pipe.html#boost_assign_v228"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"y"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"z"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v228"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="computeroutput"><span class="string">"x"</span></code>, <code class="computeroutput"><span class="string">"y"</span></code> and <code class="computeroutput"><span class="string">"z"</span></code>
+ are kept as <code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">2</span><span class="special">]</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">interval</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">6</span><span class="special">></span> <span class="identifier">all6</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">all6</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_put</span><span class="special">(</span> <span class="number">1</span> <span class="special">)(</span> <span class="number">2</span> <span class="special">)(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_as_arg_list</span><span class="special">(</span> <span class="identifier">interval</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">5</span> <span class="special">)(</span> <span class="number">6</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">interval</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">front</span> <span class="special">=</span> <span class="special">(</span>
+ <span class="identifier">powers</span> <span class="special">|</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">16</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span>
+<span class="special">).</span><span class="identifier">front</span><span class="special">();</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">front</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">==</span> <span class="number">16</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36355223" href="#id36355223" class="para">4</a>] </sup>
+ The reason for calling it <span class="emphasis"><em>pipe</em></span> rather than <span class="emphasis"><em>bitwise
+ or</em></span>, the C++ convention, is that the former speaks better to
+ the semantics that it implements in this particular context, in reference
+ to the idiom
+ by the same name.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modifier.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,61 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Push</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="push_front.html" title="Push_front">
+<link rel="next" href="../ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push_front.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.push"></a><a class="link" href="push.html" title="Push">Push</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.push.header"></a><h5>
+<a name="id36338179"></a>
+ <a class="link" href="push.html#boost_assign_v2.put.push.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/standard.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.push.semantics"></a><h5>
+<a name="id36338233"></a>
+ <a class="link" href="push.html#boost_assign_v2.put.push.semantics">Semantics</a>
+ </h5>
+<p>
+ [put_modifier_standard]
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push_front.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_back.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_back.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,68 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Push_back</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="push.html" title="Push">
+<link rel="next" href="push_front.html" title="Push_front">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push_front.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.push_back"></a><a class="link" href="push_back.html" title="Push_back">Push_back</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.push_back.header"></a><h5>
+<a name="id36337676"></a>
+ <a class="link" href="push_back.html#boost_assign_v2.put.push_back.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/push_back.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.push_back.semantics"></a><h5>
+<a name="id36337716"></a>
+ <a class="link" href="push_back.html#boost_assign_v2.put.push_back.semantics">Semantics</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">/</span><span class="identifier">tag</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">modulo</span><span class="special">/</span><span class="identifier">standard</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push_front.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_front.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/push_front.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,68 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Push_front</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="push_back.html" title="Push_back">
+<link rel="next" href="push.html" title="Push">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push_back.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.push_front"></a><a class="link" href="push_front.html" title="Push_front">Push_front</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.push_front.header"></a><h5>
+<a name="id36337931"></a>
+ <a class="link" href="push_front.html#boost_assign_v2.put.push_front.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/modifier/push_front.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.push_front.semantics"></a><h5>
+<a name="id36337971"></a>
+ <a class="link" href="push_front.html#boost_assign_v2.put.push_front.semantics">Semantics</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">modulo</span><span class="special">/</span><span class="identifier">standard</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">push_front</span><span class="special">)</span>
+<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">/</span><span class="identifier">put</span><span class="special">/</span><span class="identifier">modifier</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">/</span><span class="identifier">tag</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">push_front</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="push_back.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="push.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/put.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/put.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,457 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Put</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="pipe.html" title="Pipe">
+<link rel="next" href="../ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="pipe.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.put"></a><a class="link" href="put.html" title="Put">Put</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.put.put.header"></a><h5>
+<a name="id36358024"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.put.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/put.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.put.description"></a><h5>
+<a name="id36358070"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.put.description">Description</a>
+ </h5>
+<p>
+ An <a class="link" href="../put.html#boost_assign_v2.put.adapter" title="Adapter">adapter</a> wrapped around
+ a user supplied container
+ </p>
+<a name="boost_assign_v2.put.put.synopsis"></a><h5>
+<a name="id36358098"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.put.synopsis">Synopsis</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">put_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">container_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">result_type</span><span class="special">;</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">container_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v229co" href="put.html#boost_assign_v229"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v230co" href="put.html#boost_assign_v230"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+<span class="special">}//</span> <span class="identifier">put_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v231co" href="put.html#boost_assign_v231"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">put</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">put</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v229"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v230"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v231"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.put.put.semantics"></a><h5>
+<a name="id36358875"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.put.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <a class="link" href="../put.html#boost_assign_v2.put.adapter.crtp" title="Crtp"><code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">put_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span>
+ <span class="identifier">deduce_fun</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span>
+ <span class="identifier">deduce_modifier_tag</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ An instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="../put.html#boost_assign_v2.put.adapter.crtp" title="Crtp">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.put.put.example"></a><h5>
+<a name="id36359470"></a>
+ <a class="link" href="put.html#boost_assign_v2.put.put.example">Example</a>
+ </h5>
+<a name="ex_put_put"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">bitset</span><span class="special"><</span><span class="number">3</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <a class="co" name="boost_assign_v232co" href="put.html#boost_assign_v232"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">consecutive</span><span class="special">;</span>
+<a class="co" name="boost_assign_v233co" href="put.html#boost_assign_v233"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">consecutive</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"001"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"010"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"100"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"101"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"110"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">consecutive</span><span class="special">[</span><span class="identifier">i</span><span class="special">].</span><span class="identifier">to_ulong</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v232"></a> </p></td>
+<td valign="top" align="left"><p>
+ Keep in mind that although <code class="computeroutput"><span class="identifier">data_</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>,
+ for instance, is valid, <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ isn't (GCC4.2)
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v233"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span>
+ <span class="special">);</span></code> for <code class="literal">t = </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span></code><code class="literal">,
+ ..., </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span>
+ <span class="string">"111"</span> <span class="special">)</span></code><code class="literal">]</code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span><a class="co" name="boost_assign_v234co" href="put.html#boost_assign_v234"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span><a class="co" name="boost_assign_v235co" href="put.html#boost_assign_v235"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span
class="identifier">_as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v234"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code> for <code class="literal">( i, t ) = ( 0, "+"
+ ), ..., ( 5, "." )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v235"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="number">6</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">]</span> <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="special">*(</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">)</span> <span class="special">)</span></code> for <code class="literal">i = 0, ..., 9</code>
+ and <code class="literal">b =</code> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">numeric</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="identifier">data_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">variable_size_</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">a</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">a</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.71</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.63</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.85</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">b</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span> <span class="identifier">b</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.61</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.92</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.55</span><span class=
"special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">variable_size_</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">ragged</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">ragged</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v236co" href="put.html#boost_assign_v236"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">),</span> <span class="identifier">end</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">)</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v237co" href="put.html#boost_assign_v237"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">b</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v238co" href="put.html#boost_assign_v238"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v239co" href="put.html#boost_assign_v239"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="special">(</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">0</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">3</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v236"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v237"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">b</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v238"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v239"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 4</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">adapter</span><span class="special">;</span> <a class="co" name="boost_assign_v240co" href="put.html#boost_assign_v240"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">adapter</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">array</span><span class="special">;</span> <a class="co" name="boost_assign_v241co" href="put.html#boost_assign_v241"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">array</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span> <a class="co" name="boost_assign_v242co" href="put.html#boost_assign_v242"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">seq</span><span class="special">;</span> <a class="co" name="boost_assign_v243co" href="put.html#boost_assign_v243"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">seq</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v240"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">adapter</span><span class="special">.</span><span class="identifier">push</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v241"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">array</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">t</span></code>
+ for <code class="literal">( i, t ) = ( 0, 72 ), ( 1, 31 ), ( 2, 48 )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v242"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">assoc</span><span class="special">.</span><span class="identifier">insert</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v243"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">seq</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 5</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="identifier">us_state_</span> <span class="special">[</span><span class="number">3</span><span class="special">];</span> <span class="identifier">us_state_</span> <span class="identifier">ct</span> <span class="special">=</span> <span class="string">"CT"</span><span class="special">,</span> <span class="identifier">nj</span> <span class="special">=</span> <span class="string">"NJ"</span><span class="special">,</span> <span class="identifier">ny</span> <span class="special">=</span> <span class="string">"NY"</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">area_code_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">tuple</span><span class="special"><</span><span class="identifier">us_state_</span><a class="co" name="boost_assign_v244co" href="put.html#boost_assign_v244"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">area_code_</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span> <span class="identifier">data_</span> <span class="special">></span> <span class="identifier">tri_state_area</span><span class="special">;</span>
+<a class="co" name="boost_assign_v245co" href="put.html#boost_assign_v245"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">tri_state_area</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">212</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">718</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">516</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">914</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">210</span> <span class="special">)(</span> <span class="id
entifier">nj</span><span class="special">,</span> <span class="number">908</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">609</span> <span class="special">)(</span> <span class="identifier">ct</span><span class="special">,</span> <span class="number">203</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">ny</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">203</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v244"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the <span class="bold"><strong>reference</strong></span>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v245"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">tri_state</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">s</span><span class="special">,</span>
+ <span class="identifier">c</span> <span class="special">)</span>
+ <span class="special">)</span></code> for <code class="literal">( s, c ) =( ny,
+ 212 )...( ct, 203 )</code>
+ </p></td>
+</tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="pipe.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/std.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/put/std.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,380 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Std</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../put.html" title="Put">
+<link rel="prev" href="modulo.html" title="Modulo">
+<link rel="next" href="ext.html" title="Ext">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modulo.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ext.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.put.std"></a><a class="link" href="std.html" title="Std">Std</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push back</span></dt>
+<dt><span class="section">Push front</span></dt>
+</dl></div>
+<a name="boost_assign_v2.put.std.header"></a><h5>
+<a name="id36345729"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/std.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.std.description"></a><h5>
+<a name="id36345774"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.description">Description</a>
+ </h5>
+<p>
+ Interface for overriding the components of the implementation.
+ </p>
+<a name="boost_assign_v2.put.std.semantics"></a><h5>
+<a name="id36345796"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.semantics">Semantics</a>
+ </h5>
+<p>
+ Model <a class="link" href="modulo.html#concept_std">concept <code class="literal">Std</code></a>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.std.insert"></a><a class="link" href="std.html#boost_assign_v2.put.std.insert" title="Insert">Insert</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.std.insert.header"></a><h6>
+<a name="id36345842"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.insert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/std/insert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.std.insert.implementation"></a><h6>
+<a name="id36345888"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.insert.implementation">Implementation</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Tag
+ </p>
+ </th>
+<th>
+ <p>
+ Modulo keyword
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">insert</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.std.insert.example"></a><h6>
+<a name="id36346017"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.insert.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="string">"isomer"</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="string">"ephemeral"</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="string">"prosaic"</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_insert</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.std.push"></a><a class="link" href="std.html#boost_assign_v2.put.std.push" title="Push">Push</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.std.push.header"></a><h6>
+<a name="id36346382"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/std/push.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.std.push.implementation"></a><h6>
+<a name="id36346428"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push.implementation">Implementation</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Tag
+ </p>
+ </th>
+<th>
+ <p>
+ Modulo keyword
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.std.push.example"></a><h6>
+<a name="id36346557"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">8</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">7</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont_</span><span class="special">;</span>
+<span class="identifier">cont_</span> <span class="identifier">fifo</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">fifo</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">z</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.std.push_back"></a><a class="link" href="std.html#boost_assign_v2.put.std.push_back" title="Push back">Push back</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.std.push_back.header"></a><h6>
+<a name="id36346913"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_back.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/std/push_back.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.std.push_back.implementation"></a><h6>
+<a name="id36346960"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_back.implementation">Implementation</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Tag
+ </p>
+ </th>
+<th>
+ <p>
+ Modulo keyword
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.std.push_back.example"></a><h6>
+<a name="id36347089"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_back.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">1638</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">2010</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">2094</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_back</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">z</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.put.std.push_front"></a><a class="link" href="std.html#boost_assign_v2.put.std.push_front" title="Push front">Push front</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.put.std.push_front.header"></a><h6>
+<a name="id36347425"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_front.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put/std/push_front.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.put.std.push_front.implementation"></a><h6>
+<a name="id36347471"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_front.implementation">Implementation</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Tag
+ </p>
+ </th>
+<th>
+ <p>
+ Modulo keyword
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_front</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push_front</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.put.std.push_front.example"></a><h6>
+<a name="id36347600"></a>
+ <a class="link" href="std.html#boost_assign_v2.put.std.push_front.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">2</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">z</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="modulo.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../put.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ext.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/qs.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/qs.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,133 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Quickstart</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="conv.html" title="Convention">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.qs"></a><a class="link" href="qs.html" title="Quickstart">Quickstart</a>
+</h2></div></div></div>
+<p>
+ To be able to use this library, put the directory
+ containing the Boost library in the
+ search path of the C++ compiler and declare
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">assign</span><span class="special">/</span><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> boost::assign::v2<span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ The second line brings most of the functionality <sup>[<a name="id36331016" href="#ftn.id36331016" class="footnote">1</a>]</sup> into scope.
+ </p>
+<p>
+ The examples that follow are taken from actual <a href="../../../example/" target="_top">source
+ files</a> that conform to certain <a class="link" href="conv/ex.html" title="Example">conventions</a>,
+ notably that <code class="computeroutput"><span class="identifier">as2</span></code> is the alias
+ for the above <code class="computeroutput"><span class="keyword">namespace</span></code><sup>[<a name="id36331068" href="#ftn.id36331068" class="footnote">2</a>]</sup> . A typical <a class="link" href="put.html" title="Put"><span class="emphasis"><em>put</em></span></a>
+ call is
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">assert</span><span class="special">(</span>
+ <span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_put</span><span class="special">(</span><span class="string">"z"</span><span class="special">,</span> <span class="number">1</span><span class="special">)(</span><span class="string">"x"</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">)(</span><span class="string">"y"</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span>
+ <span class="special">)[</span><span class="string">"y"</span><span class="special">]</span> <span class="special">==</span> <span class="number">0</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ Each call to <code class="computeroutput">_put<span class="special">()</span></code> executes two
+ steps. The first forwards each set of arguments to the value-type of <code class="computeroutput"><span class="identifier">cont</span></code>, yielding a value that we label <code class="computeroutput">t</code>.
+ The second calls <code class="computeroutput">cont<span class="special">.</span><span class="identifier">insert</span><span class="special">(</span> t <span class="special">)</span></code>, as deemed
+ appropriate by the library, for this category of container ( Associative
+ ).
+ </p>
+<p>
+ The user may wish to override the library's default choice, which is accomodated
+ by a <a class="link" href="put/modulo.html" title="operator%()">parameter passing</a> mechanism.
+ Below is an example in which <code class="computeroutput"><span class="identifier">push_front</span><span class="special">()</span></code> is requested for executing the second step:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span>
+ <span class="special">)(</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">// outputs 1 0 -1
+</span></pre>
+<p>
+ </p>
+<p>
+ The keyword <code class="computeroutput">_push_front</code> is one of several parameters, some of
+ which perform complex tasks, that are available. In addition, this library
+ makes it easy, through the use of macros, to <a class="link" href="put/modulo.html#boost_assign_v2.put.modulo.modifier.ext.custom" title="Customization">extend
+ the repertoire</a>. Framework <a class="link" href="ref.html" title="Ref"><span class="emphasis"><em>ref</em></span></a>
+ provides a generalization of the reference wrapper to an array (like boost::array<>
, not C-style) e.g.
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="string">"w"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="string">"w"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ Functionality that is not strictly a part of these two frameworks but depends
+ on it, or is likely to arise in conjunction with it, can be found in section
+ <a class="link" href="util.html" title="Utility">Utility</a>.
+ </p>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331016" href="#id36331016" class="para">1</a>] </sup>
+ A few headers are not included as part of this global header <code class="computeroutput"><span class="identifier">v2</span><span class="special">.</span><span class="identifier">hpp</span></code>.
+ Such headers are marked This header has to be explicitly included
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36331068" href="#id36331068" class="para">2</a>] </sup>
+ Why not use unqualified names, given the above <code class="computeroutput"><span class="keyword">using</span></code>
+ declaration? To make sure the reader is able to distinguish this library's
+ functionality from that of others which also appears in the examples.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../index.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,155 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Reference</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="include.html" title="Include">
+<link rel="next" href="ref/config.html" title="Config">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="include.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref/config.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.ref"></a><a class="link" href="ref.html" title="Reference">Reference</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Detail</span></dt>
+<dd><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+</dl></dd>
+<dt><span class="section">Config</span></dt>
+<dd><dl>
+<dt><span class="section">Limit arity</span></dt>
+<dt><span class="section"><a href="ref/config.html#boost_assign_v2.ref.config.lconst_arity">Limit lvalue-const
+ arity</a></span></dt>
+<dt><span class="section">Limit csv-arity</span></dt>
+</dl></dd>
+<dt><span class="section">Put</span></dt>
+<dd><dl>
+<dt><span class="section">Adapter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Fun</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></dd>
+<dt><span class="section">Modifier</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dt><span class="section">Put</span></dt>
+</dl></dd>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.detail"></a><a class="link" href="ref.html#boost_assign_v2.ref.detail" title="Detail">Detail</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.detail.keyword"></a><a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword" title="Keyword">Keyword</a>
+</h4></div></div></div>
+<div class="toc"><dl><dt><span class="section">Nil</span></dt></dl></div>
+<a name="boost_assign_v2.ref.detail.keyword.header"></a><h6>
+<a name="id36337205"></a>
+ <a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.detail.keyword.nil"></a><a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword.nil" title="Nil">Nil</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.detail.keyword.nil.header"></a><h6>
+<a name="id36337255"></a>
+ <a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword.nil.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/detail/keyword/nil.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.detail.keyword.nil.description"></a><h6>
+<a name="id36337297"></a>
+ <a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword.nil.description">Description</a>
+ </h6>
+<p>
+ Type on which <span class="underline">_functor</span>_ is overloaded
+ in various parts of the library.
+ </p>
+<a name="boost_assign_v2.ref.detail.keyword.nil.syntax"></a><h6>
+<a name="id36337321"></a>
+ <a class="link" href="ref.html#boost_assign_v2.ref.detail.keyword.nil.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">keyword_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">nil</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">keyword_aux</span>
+
+ <span class="identifier">keyword_aux</span> <span class="keyword">const</span> _nil<span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+</div>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="include.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref/config.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/ar.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/ar.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,290 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Array</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Ref">
+<link rel="prev" href="../ref.html" title="Ref">
+<link rel="next" href="get.html" title="_get">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.ar"></a><a class="link" href="ar.html" title="Array">Array</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Interface</span></dt>
+<dt><span class="section">csv_array
</span></dt>
+<dt><span class="section">array
</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.ar.if"></a><a class="link" href="ar.html#boost_assign_v2.ref.ar.if" title="Interface">Interface</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.ar.if.header"></a><h6>
+<a name="id36341294"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.if.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/interface.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.ar.if.synopsis"></a><h6>
+<a name="id36341340"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.if.synopsis">Synopsis</a>
+ </h6>
+<p>
+ The interface of the containers in this section are akin to boost::array<>
,
+ but it has, in addition, a <code class="computeroutput"><span class="identifier">rebind</span><span class="special">()</span></code> member function.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">ar<span class="special">.</span><span class="identifier">rebind</span><span class="special">(</span> i<span class="special">,</span> t <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Rebinds the <code class="computeroutput">i</code>th reference to <code class="computeroutput"><span class="special">&</span>t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.ar.csv"></a><a class="link" href="ar.html#boost_assign_v2.ref.ar.csv" title="csv_array"><code class="computeroutput"><span class="identifier">csv_array</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.ar.csv.header"></a><h6>
+<a name="id36341519"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.csv.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/csv.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.ar.csv.synopsis"></a><h6>
+<a name="id36341566"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.csv.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv_array</span><span class="special"><</span><span class="identifier">U</span><span class="special">>(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="number">0</span><span class="special">,</span> <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv_array</span><span class="special">(</span>
+ t<span class="special">[</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span>
+ t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span>n<span class="special">,</span>
+ <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ In the second expression, <code class="computeroutput"><span class="identifier">U</span> <span class="special">==</span> T <span class="keyword">const</span></code>
+ if and only if <code class="computeroutput">t<span class="special">[</span>i<span class="special">]</span></code>
+ is passed as a <code class="computeroutput"><span class="keyword">const</span></code> lvalue
+ or an <code class="computeroutput"><span class="identifier">rvalue</span></code>, for at least
+ one <code class="computeroutput">i</code>, and <code class="computeroutput"><span class="identifier">U</span> <span class="special">==</span> T</code> otherwise.
+ </p>
+<a name="boost_assign_v2.ref.ar.csv.example"></a><h6>
+<a name="id36342034"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.csv.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">//outputs x y z
+</span></pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="string">"w"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="string">"w"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.ar.array"></a><a class="link" href="ar.html#boost_assign_v2.ref.ar.array" title="array"><code class="computeroutput"><span class="identifier">array</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.ar.array.header"></a><h6>
+<a name="id36342352"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.array.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/functor.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.ar.array.synopsis"></a><h6>
+<a name="id36342398"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.array.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">array</span><span class="special">(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="number">0</span><span class="special">,</span> <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">array</span><span class="special">(</span>
+ t<span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">)</span>
+ <span class="special">...(</span> t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span>n<span class="special">,</span>
+ <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ The determination of <code class="computeroutput"><span class="identifier">U</span></code>
+ for the second expression is identical to that for <a class="link" href="../../"><code class="computeroutput"><span class="identifier">csv_array</span><span class="special">()</span></code></a>.
+ </p>
+<a name="boost_assign_v2.ref.ar.array.example"></a><h6>
+<a name="id36342679"></a>
+ <a class="link" href="ar.html#boost_assign_v2.ref.ar.array.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span> <span class="special">)(</span> <span class="number">0</span> <span class="special">)(</span> <span class="number">1</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">// outputs -1 0 1
+</span></pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="get.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/array.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/array.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,493 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Array</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Ref">
+<link rel="prev" href="../ref.html" title="Ref">
+<link rel="next" href="../utility.html" title="Utility">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../utility.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.array"></a><a class="link" href="array.html" title="Array">Array</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Interface</span></dt>
+<dt><span class="section">Array</span></dt>
+<dt><span class="section">Csv_array</span></dt>
+</dl></div>
+<a name="boost_assign_v2.ref.array.header"></a><h5>
+<a name="id36366887"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.array.description"></a><h5>
+<a name="id36366933"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.description">Description</a>
+ </h5>
+<p>
+ Framework for in place construction of an array of reference wrappers
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.array.interface"></a><a class="link" href="array.html#boost_assign_v2.ref.array.interface" title="Interface">Interface</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.array.interface.header"></a><h6>
+<a name="id36366970"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.interface.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/interface.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.array.interface.description"></a><h6>
+<a name="id36367017"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.interface.description">Description</a>
+ </h6>
+<p>
+ Interface for arrays of reference wrappers, a.k.a, here, as reference-array
+ </p>
+<a name="boost_assign_v2.ref.array.interface.syntax"></a><h6>
+<a name="id36367039"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.interface.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Impl</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">interface</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecifiedparam_type</span><span class="special">;</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">wrapper_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">inner_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">difference_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">reference</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_reference</span><span class="special">;</span>
+
+ <span class="identifier">size_type</span> <span class="identifier">static_size</span><span class="special">;</span>
+
+ <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">size</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">rebind</span><span class="special">(</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">result_of_get_</span> <span class="identifier">t</span><span class="special">);</span>
+ <span class="identifier">reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">);</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">assign</span><span class="special">(</span><span class="identifier">param_type</span> <span class="identifier">val</span><span class="special">);</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.array.array"></a><a class="link" href="array.html#boost_assign_v2.ref.array.array" title="Array">Array</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.array.array.header"></a><h6>
+<a name="id36367725"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.array.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/array.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.array.array.description"></a><h6>
+<a name="id36367772"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.array.description">Description</a>
+ </h6>
+<p>
+ Functor for generating an array of reference wrappers
+ </p>
+<a name="boost_assign_v2.ref.array.array.syntax"></a><h6>
+<a name="id36367794"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.array.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">nth_result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="identifier">array_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v253co" href="array.html#boost_assign_v253"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v254co" href="array.html#boost_assign_v254"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">array</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">nth_result_of</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span> <span class="special">=</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">U</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span> <span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v253"></a> </p></td>
+<td valign="top" align="left"><p>
+ U& has to be a reference
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v254"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.ref.array.array.semantics"></a><h6>
+<a name="id36368550"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.array.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array<span class="special"><</span><span class="identifier">U</span><span class="special">>(</span> _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an empty reference-array
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array<span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns a reference-array of one element binding to <code class="computeroutput">t</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.ref.array.array.example"></a><h6>
+<a name="id36368689"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.array.example">Example</a>
+ </h6>
+<a name="ex_ref_array_array"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">w</span> <span class="special">=</span> <span class="number">11</span><span class="special">,</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">72</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">31</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="number">3</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar3</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span> <span class="identifier">w</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">);</span>
+<span class="special">{</span>
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">.</span><span class="identifier">front</span><span class="special">();</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">.</span><span class="identifier">back</span><span class="special">();</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">w</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">b</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">y</span> <span class="special">);</span>
+<span class="special">}</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="number">4</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar4</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">);</span>
+<span class="special">{</span>
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="identifier">ar4</span><span class="special">.</span><span class="identifier">front</span><span class="special">();</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">ar4</span><span class="special">.</span><span class="identifier">back</span><span class="special">();</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">w</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">b</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">z</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</sp
an><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">)(</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.array.csv_array"></a><a class="link" href="array.html#boost_assign_v2.ref.array.csv_array" title="Csv_array">Csv_array</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.array.csv_array.header"></a><h6>
+<a name="id36370040"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.csv_array.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/csv_array.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.array.csv_array.description"></a><h6>
+<a name="id36370086"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.csv_array.description">Description</a>
+ </h6>
+<p>
+ Function generating an array of reference wrappers
+ </p>
+<a name="boost_assign_v2.ref.array.csv_array.syntax"></a><h6>
+<a name="id36370108"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.csv_array.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">nth_result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="identifier">array_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v255co" href="array.html#boost_assign_v255"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v256co" href="array.html#boost_assign_v256"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">csv_array</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="number">0</span><span class="special">,</span> <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span> <span class="special">);</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_array</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">>;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">...>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">&...</span><span class="identifier">args</span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v255"></a> </p></td>
+<td valign="top" align="left"><p>
+ U& has to be a reference
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v256"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.ref.array.csv_array.semantics"></a><h6>
+<a name="id36370661"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.csv_array.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Pre-condition</strong></span>
+ </p>
+<p>
+ Each of <code class="computeroutput">t<span class="special">,</span> <span class="identifier">args</span><span class="special">...</span></code> are of the same type, <code class="computeroutput">T</code>.
+ </p>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> t<span class="special">,</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns a reference-array binding to <code class="computeroutput">t<span class="special">,</span>
+ <span class="identifier">args</span><span class="special">...</span></code>.
+ The type that is bound to is <code class="computeroutput">T</code> if all values are
+ non-const lvalues, <code class="computeroutput">T <span class="keyword">const</span></code>,
+ otherwise.
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.ref.array.csv_array.example"></a><h6>
+<a name="id36370844"></a>
+ <a class="link" href="array.html#boost_assign_v2.ref.array.csv_array.example">Example</a>
+ </h6>
+<a name="ex_ref_array_csv_array"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">72</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">31</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="number">3</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">ar_</span> <span class="identifier">ar</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">);</span>
+
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">];</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">2</span><span class="special">];</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">x</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">b</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">z</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../utility.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/config.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/config.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,301 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Config</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Reference">
+<link rel="prev" href="../ref.html" title="Reference">
+<link rel="next" href="put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.config"></a><a class="link" href="config.html" title="Config">Config</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Limit arity</span></dt>
+<dt><span class="section"><a href="config.html#boost_assign_v2.ref.config.lconst_arity">Limit lvalue-const
+ arity</a></span></dt>
+<dt><span class="section">Limit csv-arity</span></dt>
+</dl></div>
+<a name="boost_assign_v2.ref.config.header"></a><h5>
+<a name="id36337408"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.header">Header</a>
+ </h5>
+<p>
+ Does not have a header.
+ </p>
+<a name="boost_assign_v2.ref.config.description"></a><h5>
+<a name="id36337425"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.description">Description</a>
+ </h5>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.config.arity"></a><a class="link" href="config.html#boost_assign_v2.ref.config.arity" title="Limit arity">Limit arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.config.arity.header"></a><h6>
+<a name="id36337450"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.arity.syntax"></a><h6>
+<a name="id36337489"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.arity.semantics"></a><h6>
+<a name="id36337524"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.config.lconst_arity"></a><a class="link" href="config.html#boost_assign_v2.ref.config.lconst_arity" title="Limit lvalue-const arity">Limit lvalue-const
+ arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.config.lconst_arity.header"></a><h6>
+<a name="id36337628"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.lconst_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.lconst_arity.syntax"></a><h6>
+<a name="id36337668"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.lconst_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.lconst_arity.semantics"></a><h6>
+<a name="id36337704"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.lconst_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments for which any mixture of lvalue
+ and const-lvalues is preserved
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Beyond this limit, arguments are treated as either all lvalues or all const-lvalues.
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.config.csv_arity"></a><a class="link" href="config.html#boost_assign_v2.ref.config.csv_arity" title="Limit csv-arity">Limit csv-arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.config.csv_arity.header"></a><h6>
+<a name="id36337823"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.csv_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.csv_arity.syntax"></a><h6>
+<a name="id36337863"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.csv_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.config.csv_arity.semantics"></a><h6>
+<a name="id36337898"></a>
+ <a class="link" href="config.html#boost_assign_v2.ref.config.csv_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ Limits a csv-function's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/csv.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/csv.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,135 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>csv_array</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Ref">
+<link rel="prev" href="../ref.html" title="Ref">
+<link rel="next" href="array.html" title="array">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="array.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.csv"></a><a class="link" href="csv.html" title="csv_array"><code class="computeroutput"><span class="identifier">csv_array</span></code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.ref.csv.header"></a><h5>
+<a name="id36341463"></a>
+ <a class="link" href="csv.html#boost_assign_v2.ref.csv.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/array/csv.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.csv.synopsis"></a><h5>
+<a name="id36341509"></a>
+ <a class="link" href="csv.html#boost_assign_v2.ref.csv.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv_array</span><span class="special"><</span><span class="identifier">U</span><span class="special">>(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="number">0</span><span class="special">,</span> <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv_array</span><span class="special">(</span>
+ t<span class="special">[</span><span class="number">0</span><span class="special">],</span> <span class="special">...,</span>
+ t<span class="special">[</span>n<span class="special">-</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span>n<span class="special">,</span> <span class="identifier">U</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ In the second expression, <code class="computeroutput"><span class="identifier">U</span> <span class="special">==</span> T <span class="keyword">const</span></code>
+ if and only if <code class="computeroutput">t<span class="special">[</span>i<span class="special">]</span></code>
+ is passed as a <code class="computeroutput"><span class="keyword">const</span></code> lvalue
+ or an <code class="computeroutput"><span class="identifier">rvalue</span></code>, for at least
+ one <code class="computeroutput">i</code>, and <code class="computeroutput"><span class="identifier">U</span> <span class="special">==</span> T</code> otherwise.
+ </p>
+<a name="boost_assign_v2.ref.csv.example"></a><h5>
+<a name="id36341976"></a>
+ <a class="link" href="csv.html#boost_assign_v2.ref.csv.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">//outputs x y z
+</span></pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="string">"w"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="string">"w"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="array.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/get.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/get.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,164 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>_get</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Ref">
+<link rel="prev" href="ar.html" title="Array">
+<link rel="next" href="../util.html" title="Utility">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ar.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../util.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.get"></a><a class="link" href="get.html" title="_get"><code class="computeroutput">_get</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.ref.get.header"></a><h5>
+<a name="id36342847"></a>
+ <a class="link" href="get.html#boost_assign_v2.ref.get.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/wrapper/adaptor_get.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.get.synopsis"></a><h5>
+<a name="id36342893"></a>
+ <a class="link" href="get.html#boost_assign_v2.ref.get.synopsis">Synopsis</a>
+ </h5>
+<p>
+ Let <code class="computeroutput">r</code> denote a range
+ of reference-wrappers.
+ </p>
+<div class="table">
+<a name="boost_assign_v2.ref.get.usage"></a><p class="title"><b>Table 1.6. Usage</b></p>
+<div class="table-contents"><table class="table" summary="Usage">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _get</code>
+ </p>
+ </td>
+<td>
+ <p>
+ A range
+ of type <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">range_get</span><span class="special"><</span>R<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<br class="table-break"><p>
+ Let <code class="computeroutput"><span class="identifier">it1</span></code> denote the iterator
+ of <code class="computeroutput">r</code> and <code class="computeroutput"><span class="identifier">it2</span></code>
+ that of the transformed one.
+ </p>
+<div class="table">
+<a name="boost_assign_v2.ref.get.property"></a><p class="title"><b>Table 1.7. Property</b></p>
+<div class="table-contents"><table class="table" summary="Property">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*</span><span class="identifier">it2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">it1</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<br class="table-break"><a name="boost_assign_v2.ref.get.comment"></a><h5>
+<a name="id36343151"></a>
+ <a class="link" href="get.html#boost_assign_v2.ref.get.comment">Comment</a>
+ </h5>
+<p>
+ This transformation is necessary before passing a range of reference-wrappers
+ to a write <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/algorithms.html" target="_top">range
+ algorithm</a>.
+ </p>
+<a name="boost_assign_v2.ref.get.example"></a><h5>
+<a name="id36343179"></a>
+ <a class="link" href="get.html#boost_assign_v2.ref.get.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;<
/span>
+<span class="keyword">int</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">v</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span>
+ <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ar.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../util.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/put.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/put.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,3561 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Put</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Reference">
+<link rel="prev" href="config.html" title="Config">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="config.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.put"></a><a class="link" href="put.html" title="Put">Put</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Adapter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Fun</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></dd>
+<dt><span class="section">Modifier</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dt><span class="section">Put</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.adapter"></a><a class="link" href="put.html#boost_assign_v2.ref.put.adapter" title="Adapter">Adapter</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></div>
+<a name="boost_assign_v2.ref.put.adapter.header"></a><h6>
+<a name="id36338022"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.description"></a><h6>
+<a name="id36338062"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.description">Description</a>
+ </h6>
+<p>
+ A framework for adapting a container's interface for inserting elements
+ to that of a functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.adapter.as_arg_list"></a><a class="link" href="put.html#boost_assign_v2.ref.put.adapter.as_arg_list" title="As_arg_list">As_arg_list</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.adapter.as_arg_list.header"></a><h6>
+<a name="id36338092"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.as_arg_list.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/as_arg_list.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.as_arg_list.description"></a><h6>
+<a name="id36338135"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.as_arg_list.description">Description</a>
+ </h6>
+<p>
+ A function that, invoked with a given range,
+ returns a class wrapped around it that signals that the range's elements
+ are to be treated as a sequence of unary arguments to an adapter.
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.as_arg_list.synopsis"></a><h6>
+<a name="id36338162"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.as_arg_list.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">as_arg_list</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.adapter.crtp"></a><a class="link" href="put.html#boost_assign_v2.ref.put.adapter.crtp" title="Crtp">Crtp</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.adapter.crtp.header"></a><h6>
+<a name="id36338456"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.crtp.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/crtp.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.crtp.description"></a><h6>
+<a name="id36338497"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.crtp.description">Description</a>
+ </h6>
+<p>
+ A CRTP
+ <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> with a variadic functor interface that maps arguments
+ to a value and inserts it in a container supplied by the derived class.
+ Each of the mapping and the insertion mechanism, termed a <span class="emphasis"><em>modifier</em></span>,
+ are specified by template paramaters.
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.crtp.synopsis"></a><h6>
+<a name="id36338533"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter1</span><span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter1</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">ref</span> <span class="special">=</span> <span class="identifier">derived</span><span class="special">.</span><span class="identifier">container</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter2</span> <span class="special">:</span> <span class="identifier">ConceptAdapter1</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">D</span><span class="special">>{</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="identifier">modifier_</span><span class="special">;</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter2</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">m</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">f</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">modifier_</span> <span class="identifier">m</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v20co" href="put.html#boost_assign_v20"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v21co" href="put.html#boost_assign_v21"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v22co" href="put.html#boost_assign_v22"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v23co" href="put.html#boost_assign_v23"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span
class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_crtp</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span>
+ <span class="identifier">modifier_type</span><span class="special">;</span>
+
+ <span class="identifier">adapter_crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v20"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v21"></a> </p></td>
+<td valign="top" align="left"><p>
+ Functor
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v22"></a> </p></td>
+<td valign="top" align="left"><p>
+ Modifier tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v23"></a> </p></td>
+<td valign="top" align="left"><p>
+ Derived type
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.adapter.crtp.semantics"></a><h6>
+<a name="id36339516"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.crtp.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">cont</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">C</span></code>,
+ supplied by the derived class
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">F</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">put-adapter</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">D</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Side effect
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">put-adapter</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">as_arg_list</span><span class="special">(</span>
+ <span class="identifier">range</span> <span class="special">)</span>
+ <span class="special">)</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter<span class="special">(</span> <span class="identifier">arg</span> <span class="special">)</span></code>
+ for each <code class="computeroutput"><span class="identifier">arg</span></code>
+ in <code class="computeroutput"><span class="identifier">range</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">put-adapter</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.adapter.modifier"></a><a class="link" href="put.html#boost_assign_v2.ref.put.adapter.modifier" title="Modifier">Modifier</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.adapter.modifier.header"></a><h6>
+<a name="id36339931"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.modifier.description"></a><h6>
+<a name="id36339973"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.modifier.description">Description</a>
+ </h6>
+<p>
+ A <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> with no default implementation, but whose specializations
+ are required to expose a particular interface for modifying a container.
+ </p>
+<a name="boost_assign_v2.ref.put.adapter.modifier.synopsis"></a><h6>
+<a name="id36340000"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.adapter.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <a class="co" name="boost_assign_v24co" href="put.html#boost_assign_v24"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">modifier_tag</span><span class="special">{}</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v25co" href="put.html#boost_assign_v25"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">adapter_modifier</span><span class="special">{};</span>
+
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_concept</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <a class="co" name="boost_assign_v26co" href="put.html#boost_assign_v26"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <a class="co" name="boost_assign_v27co" href="put.html#boost_assign_v27"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">Modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">Modifier</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">m</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">>&</span> <span class="identifier">m</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">t</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v24"></a> </p></td>
+<td valign="top" align="left"><p>
+ Template arguments to <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><></span></code> have to be declared within
+ this <code class="computeroutput"><span class="keyword">namespace</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v25"></a> </p></td>
+<td valign="top" align="left"><p>
+ Specialize on Tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v26"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v27"></a> </p></td>
+<td valign="top" align="left"><p>
+ Input
+ </p></td>
+</tr>
+</table></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.deque"></a><a class="link" href="put.html#boost_assign_v2.ref.put.deque" title="Deque">Deque</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.put.deque.header"></a><h6>
+<a name="id36340440"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.deque.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span><span class="special"><</span>boost/assign/v2/value/deque.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.deque.describe"></a><h6>
+<a name="id36340478"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.deque.describe">Describe</a>
+ </h6>
+<p>
+ In place construction of a de-que container that has the <a class="link" href="../../">adapter
+ interface</a>.
+ </p>
+<a name="boost_assign_v2.ref.put.deque.synopsis"></a><h6>
+<a name="id36340501"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.deque.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v28co" href="put.html#boost_assign_v28"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deque_impl</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">deque_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+
+ <span class="comment">// Construct
+</span> <span class="identifier">deque_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">deque_adapter</span><span class="special">(</span> <span class="identifier">impl_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="comment">// Deque interface
+</span> <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">max_size</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span><span class="keyword">const</span><span class="special">;;</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">pop_front</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">pop_back</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">deque_adapter</span><span class="special">&</span> <span class="identifier">that</span><span class="special">);</span>
+
+ <span class="identifier">impl_</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v29co" href="put.html#boost_assign_v29"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v210co" href="put.html#boost_assign_v210"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v211co" href="put.html#boost_assign_v211"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">deque</span><span class="special">(</span><span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v28"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v29"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v210"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v211"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Alernative syntax</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque_value</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_deque</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">...</span> <span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.deque.semantics"></a><h6>
+<a name="id36342076"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.deque.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>T<span class="special">,</span> f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>T<span class="special">,</span>
+ f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">deque_adapter</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>
+ T<span class="special">,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deduce_fun</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deduce_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>::</span><span class="identifier">type</span>
+<span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">remove_cv</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>
+ <span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><></span></code>
+ is needed if <code class="computeroutput">T</code> is a string literal
+ </p></td></tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span>deque<span class="special"><</span>T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span> _nil <span class="special">)(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="../../">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.ref.put.deque.example"></a><h6>
+<a name="id36343054"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.deque.example">Example</a>
+ </h6>
+<a name="ex_put_deque"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C1</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C2</span><span class="special">;</span>
+
+ <span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C1</span><span class="special">,</span> <span class="identifier">C2</span><span class="special">></span> <span class="special">));</span>
+
+ <span class="identifier">C1</span> <span class="identifier">empty_cont</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">);</span>
+ <span class="identifier">C1</span> <span class="identifier">cont1</span> <span class="special">=</span> <span class="identifier">empty_cont</span><span class="special">(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+ <span class="identifier">C1</span> <span class="identifier">cont2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+ <span class="identifier">C1</span> <span class="identifier">cont3</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+ <span class="identifier">C1</span> <span class="identifier">cont4</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">72</span> <span class="special">);</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">31</span> <span class="special">);</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont2</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont3</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont4</span> <span class="special">)</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>::</span><span class="identifier">type</span> <span class="identifier">C1</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">[</span><span class="number">2</span><span class="special">]>::</span><span class="identifier">type</span> <span class="identifier">C2</span><span class="special">;</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C1</span><span class="special">,</span> <span class="identifier">C2</span><span class="special">></span> <span class="special">));</span>
+
+<span class="identifier">C1</span> <span class="identifier">deque1</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">);</span>
+<span class="identifier">C2</span> <span class="identifier">deque2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">);</span> <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"y"</span> <span class="special">);</span> <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque2</span> <span class="special">)</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="identifier">str_</span><span class="special">></span> <span class="identifier">T</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+ <span class="identifier">C</span> <span class="identifier">airports</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"Heathrow"</span><span class="special">)(</span> <span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span> <span class="special">);</span>
+
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)</span> <span class="special">);</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)</span> <span class="special">);</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"Heathrow"</span><span class="special">)</span> <span class="special">);</span>
+ <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span><span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">airports</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ As the <a class="link" href="../../">adapter
+ interface</a> underlying the above is common with that of <a class="link" href="../../"><code class="computeroutput">put</code></a>,
+ looking at the examples of latter is also recommended.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.fun"></a><a class="link" href="put.html#boost_assign_v2.ref.put.fun" title="Fun">Fun</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></div>
+<a name="boost_assign_v2.ref.put.fun.header"></a><h6>
+<a name="id36345026"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/fun.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.fun.description"></a><h6>
+<a name="id36345072"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.description">Description</a>
+ </h6>
+<p>
+ Aspects of an adapter's functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.fun.deduce"></a><a class="link" href="put.html#boost_assign_v2.ref.put.fun.deduce" title="Deduce">Deduce</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.fun.deduce.description"></a><h6>
+<a name="id36345107"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that maps a container's type to a functor
+ </p>
+<a name="boost_assign_v2.ref.put.fun.deduce.synopsis"></a><h6>
+<a name="id36345129"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.deduce.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">container_value</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v212co" href="put.html#boost_assign_v212"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">PtrC</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v213co" href="put.html#boost_assign_v213"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">deduce_fun_pointer</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v214co" href="put.html#boost_assign_v214"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v215co" href="put.html#boost_assign_v215"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deduce_fun_value</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v216co" href="put.html#boost_assign_v216"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v217co" href="put.html#boost_assign_v217"><img src="../../../../doc/src/images/callouts/6.png" alt="6" border="0"></a><span class="identifier">deduce_fun</span><span class="special">;</span>
+
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v212"></a> </p></td>
+<td valign="top" align="left"><p>
+ Pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v213"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping the <code class="computeroutput"><span class="identifier">PtrC</span></code>'s
+ pointer-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v214"></a> </p></td>
+<td valign="top" align="left"><p>
+ Value-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v215"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>'s
+ value-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v216"></a> </p></td>
+<td valign="top" align="left"><p>
+ Either of a value or pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v217"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>s
+ element-type to a factory thereof
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.fun.modulo"></a><a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo" title="Modulo">Modulo</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.fun.modulo.description"></a><h6>
+<a name="id36345550"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo.description">Description</a>
+ </h6>
+<p>
+ Overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ that replace a <a class="link" href="../../">Put.Adapter</a>'s
+ functor
+ </p>
+<a name="boost_assign_v2.ref.put.fun.modulo.synopsis"></a><h6>
+<a name="id36345592"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_fun</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.fun.modulo.semantics"></a><h6>
+<a name="id36345682"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_fun</span>
+ <span class="special">=</span> <span class="identifier">f</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_fun</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with <code class="computeroutput"><span class="identifier">f</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.fun.modulo.customization"></a><h6>
+<a name="id36345898"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">FUN</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">EXPR</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">constructor</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">::</span><span class="identifier">functor_aux</span><span class="special">::</span><span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>)</span>
+ <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">identity</span><span class="special">,</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Instances</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_identity</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with an identity
+ functor
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with a constructor
+ for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">new_ptr</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s functor with a functor
+ returning a pointer for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.fun.modulo.example"></a><h6>
+<a name="id36346319"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.fun.modulo.example">Example</a>
+ </h6>
+<a name="ex_put_fun"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">exponent</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">function</span><span class="special"><</span><span class="keyword">double</span><span class="special">(</span><span class="keyword">double</span><span class="special">)></span> <span class="identifier">f_</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">f_</span><span class="special">(</span> <span class="identifier">log10</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign_v218co" href="put.html#boost_assign_v218"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="number">1000.0</span> <span class="special">)(</span> <span class="number">10.0</span> <span class="special">)(</span> <span class="number">10000.0</span> <span class="special">)(</span> <span class="number">1.0</span> <span class="special">)(</span> <span class="number">100.0</span> <span class="special">);</span>
+
+
+<span class="keyword">double</span> <span class="identifier">eps</span> <span class="special">=</span> <span class="identifier">numeric</span><span class="special">::</span><span class="identifier">bounds</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">smallest</span><span class="special">();</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">-</span> <span class="number">3.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">-</span> <span class="number">2.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v218"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">1000.0</span>
+ <span class="special">)</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">10.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">10000.0</span>
+ <span class="special">)</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">1.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">100.0</span> <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">factorials</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special">*=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">i</span><span class="special">)++</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">)</span>
+ <span class="special">)</span><a class="co" name="boost_assign_v219co" href="put.html#boost_assign_v219"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">()()()()()</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">factorials</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">6</span><span class="special">,</span> <span class="number">24</span><span class="special">,</span> <span class="number">120</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v219"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">factorials</span><span class="special">(</span> <span class="identifier">k</span> <span class="special">*=</span> <span class="identifier">i</span><span class="special">++</span> <span class="special">)</span></code>
+ for <code class="literal">i = 1, ..., 5</code>
+ </p></td>
+</tr></table></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.modifier"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></div>
+<a name="boost_assign_v2.ref.put.modifier.header"></a><h6>
+<a name="id36347394"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.description"></a><h6>
+<a name="id36347440"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.description">Description</a>
+ </h6>
+<p>
+ A meta-function for deducing a default modifier, and overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ that replace a <a class="link" href="../../">Put.Adapter</a>'s
+ modifier
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.deduce"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce" title="Deduce">Deduce</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.deduce.header"></a><h6>
+<a name="id36347497"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/deduce.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.deduce.description"></a><h6>
+<a name="id36347544"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that, based on a set of rules, maps a container's type
+ to a modifier
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.deduce.syntax"></a><h6>
+<a name="id36347566"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v220co" href="put.html#boost_assign_v220"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deduce_modifier_tag</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v220"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function returning a modifier-tag
+ </p></td>
+</tr></table></div>
+<a name="boost_assign_v2.ref.put.modifier.deduce.semantics"></a><h6>
+<a name="id36347681"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">C</span></code>
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">Tag</span></code>
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Associative
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Adapter
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ None of the above
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.deduce.customization"></a><h6>
+<a name="id36347906"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.deduce.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="comment">// The next 5 not override-able macros can be used for defining a custom switch
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_CASE</span><span class="special">(</span><span class="identifier">ModifierTag</span><span class="special">,</span> <span class="identifier">BooleanMetaFun</span><span class="special">,</span> <span class="identifier">Number</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ASSOCIATIVE</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::insert
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ARRAY</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::iterate<>
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ADAPTER</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_DEFAULT</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push_back
+</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH</span> <span class="comment">// Signals that a switch is already defined
+</span></pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.modulo"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo" title="Modulo">Modulo</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.modulo.header"></a><h6>
+<a name="id36348146"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/modulo.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.modulo.description"></a><h6>
+<a name="id36348193"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo.description">Description</a>
+ </h6>
+<p>
+ Overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ to replace an adapter's modifier
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.modulo.synopsis"></a><h6>
+<a name="id36348229"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v221co" href="put.html#boost_assign_v221"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v222co" href="put.html#boost_assign_v222"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">Arg</span> <span class="special">=</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">ignore</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">modulo_modifier</span><span class="special">(){}</span>
+ <span class="identifier">modulo_modifier</span><span class="special">(</span><span class="identifier">Arg</span> <span class="identifier">arg</span><span class="special">);</span>
+
+ <span class="identifier">Arg</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="keyword">operator</span><span class="special">=(</span><span class="keyword">const</span> <span class="identifier">Arg1</span><span class="special">&</span> <span class="identifier">arg1</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v223co" href="put.html#boost_assign_v223"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">meta_modifier_tag</span>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v224co" href="put.html#boost_assign_v224"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v225co" href="put.html#boost_assign_v225"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span><span class="special">{</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span>
+ <span class="special">{};</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span>
+ <span class="identifier">adapter_crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v221"></a> </p></td>
+<td valign="top" align="left"><p>
+ A class of modifiers
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v222"></a> </p></td>
+<td valign="top" align="left"><p>
+ A part of the modifier's implementation
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v223"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class to be specialized on Keyword
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v224"></a> </p></td>
+<td valign="top" align="left"><p>
+ Inherits <code class="computeroutput"><span class="identifier">adapter_crtp</span><span class="special"><></span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v225"></a> </p></td>
+<td valign="top" align="left"><p>
+ Returns a modifier-tag
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.modulo.semantics"></a><h6>
+<a name="id36349170"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <em class="replaceable"><code>put-modifier</code></em> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.modulo.customization"></a><h6>
+<a name="id36349260"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span> <span class="identifier">unspecified</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span></code>
+ on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>
+ to return <code class="computeroutput"><span class="identifier">Result</span></code><sup>[<a name="id36349472" href="#ftn.id36349472" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Creates a class <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_Name</span></code>,
+ and a <code class="computeroutput"><span class="keyword">const</span></code> instance
+ thereof, <code class="computeroutput"><span class="identifier">_Name</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id36349472" href="#id36349472" class="para">a</a>] </sup>
+ <code class="computeroutput"><span class="identifier">Result</span></code> may
+ be expressed in terms of <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p></div></td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup><col></colgroup>
+<thead><tr><th>
+ <p>
+ Requirement
+ </p>
+ </th></tr></thead>
+<tbody><tr><td>
+ <p>
+ Specialize <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">Result</span><span class="special">></span></code> on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>.
+ See <a class="link" href="../../">Adapter.Modifier</a>
+ </p>
+ </td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.insert"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.insert" title="Insert">Insert</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.insert.header"></a><h6>
+<a name="id36349752"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.insert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/insert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.insert.description"></a><h6>
+<a name="id36349798"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.insert.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="../../">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.insert.semantics"></a><h6>
+<a name="id36349827"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.insert.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_insert</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="../../">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.insert.example"></a><h6>
+<a name="id36349971"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.insert.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Set</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">letters</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_insert</span> <span class="special">)(</span> <span class="string">"d"</span> <span class="special">)(</span> <span class="string">"a"</span> <span class="special">)(</span> <span class="string">"c"</span> <span class="special">)(</span> <span class="string">"b"</span> <span class="special">);<
/span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="string">"a"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="string">"d"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.iterate"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate" title="Iterate">Iterate</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.iterate.header"></a><h6>
+<a name="id36350318"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/iterate.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.iterate.description"></a><h6>
+<a name="id36350365"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate.description">Description</a>
+ </h6>
+<a name="boost_assign_v2.ref.put.modifier.iterate.synopsis"></a><h6>
+<a name="id36350383"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em> <span class="special">></span> <span class="keyword">struct</span> <span class="identifier">iterate</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_iterate</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+<span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_iterate</span> <span class="keyword">const</span> <span class="identifier">_iterate</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.iterate.semantics"></a><h6>
+<a name="id36350756"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_iterate</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">arg</span><span class="special">()</span> <span class="special">]</span>
+ <span class="special">=</span> t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_iterate</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_iterate</span>
+ <span class="special">=</span> <span class="identifier">arg</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ If omitted, <code class="computeroutput"><span class="identifier">arg</span><span class="special">()</span></code>
+ is equivalent to <code class="computeroutput"><span class="identifier">i</span><span class="special">++</span></code>
+ for some <code class="computeroutput"><span class="identifier">i</span></code> initialized
+ at zero.
+ </p>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="../../">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.iterate.example"></a><h6>
+<a name="id36351376"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.iterate.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_iterate"></a><p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
+ <span class="keyword">int</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">index</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">1000</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.lookup"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup" title="Lookup">Lookup</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.lookup.header"></a><h6>
+<a name="id36351788"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/lookup.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.lookup.description"></a><h6>
+<a name="id36351835"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup.description">Description</a>
+ </h6>
+<p>
+ An alternative modifier that is suitable for associative containers
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.lookup.synopsis"></a><h6>
+<a name="id36351857"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">lookup</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_lookup</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_lookup</span> <span class="keyword">const</span> <span class="identifier">_lookup</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.lookup.semantics"></a><h6>
+<a name="id36352085"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_lookup</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ <span class="identifier">key</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">=</span>
+ <span class="identifier">arg</span><span class="special">(</span>
+ cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_lookup</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Pre-condition</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Requirement
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result</span><span class="special">-</span><span class="identifier">type</span></code> of <code class="computeroutput">put-adapter</code>'s
+ functor
+ </p>
+ </td>
+<td>
+ <p>
+ convertible to <code class="computeroutput">C<span class="special">::</span><span class="identifier">key_type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_lookup</span>
+ <span class="special">=</span> <span class="identifier">arg</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ The precondition is usually not met by default. In common cases, this
+ suffices:
+</p>
+<pre class="programlisting">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">_lookup</span> <span class="special">=</span> <span class="identifier">arg</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.lookup.example"></a><h6>
+<a name="id36352839"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.lookup.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_lookup"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">C</span><span class="special">;</span> <span class="identifier">C</span> <span class="identifier">year</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">year</span> <span class="special">)(</span> <span class="string">"feb"</span><span class="special">,</span> <span class="number">28</span> <span class="special">)(</span> <span class="string">"apr"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"jun"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"sep"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"nov"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)</span>
+ <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">_1</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_lookup</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">_1</span> <span class="special">=</span> <span class="number">31</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign_v226co" href="put.html#boost_assign_v226"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"jan"</span> <span class="special">)(</span> <span class="string">"mar"</span> <span class="special">)(</span> <span class="string">"may"</span> <span class="special">)(</span> <span class="string">"jul"</span> <span class="special">)(</span> <span class="string">"aug"</span> <span class="special">)(</span> <span class="string">"oct"</span> <span class="special">)(</span> <span class="string">"dec"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"dec"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v226"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span>
+ <span class="special">=</span> <span class="number">31</span></code>
+ etc.
+ </p></td>
+</tr></table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.push"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push" title="Push">Push</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.push.header"></a><h6>
+<a name="id36353440"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push.description"></a><h6>
+<a name="id36353487"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="../../">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push.semantics"></a><h6>
+<a name="id36353516"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="../../">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.push.example"></a><h6>
+<a name="id36353659"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">fifo</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.push_back"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_back" title="Push_back">Push_back</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.push_back.header"></a><h6>
+<a name="id36353911"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_back.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push_back.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push_back.description"></a><h6>
+<a name="id36353958"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_back.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="../../">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push_back.semantics"></a><h6>
+<a name="id36353987"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_back.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push_back</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="../../">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.push_back.example"></a><h6>
+<a name="id36354131"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_back.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">;</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_back</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">list</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.push_front"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_front" title="Push_front">Push_front</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.push_front.header"></a><h6>
+<a name="id36354393"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_front.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push_front.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push_front.description"></a><h6>
+<a name="id36354440"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_front.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="../../">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.push_front.semantics"></a><h6>
+<a name="id36354470"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_front.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="identifier">_push_front</span> </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_front</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">put-adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="../../">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.push_front.example"></a><h6>
+<a name="id36354614"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.push_front.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_push_front"></a><p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">sqrt2</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">1.41421</span> <span class="special">)(</span> <span class="number">1.4142</span> <span class="special">)(</span> <span class="number">1.414</span> <span class="special">)(</span> <span class="number">1.41</span> <span class="special">);</span>
+
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41421</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.repeat"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat" title="Repeat">Repeat</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.repeat.header"></a><h6>
+<a name="id36354969"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/repeat.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.repeat.description"></a><h6>
+<a name="id36355016"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat.description">Description</a>
+ </h6>
+<p>
+ A modifier that grafts onto that of an adapter to produce repetitive
+ invocations of the latter
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.repeat.synopsis"></a><h6>
+<a name="id36355038"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">repeat</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_repeat</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_repeat</span> <span class="keyword">const</span> <span class="identifier">_repeat</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.repeat.semantics"></a><h6>
+<a name="id36355266"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="number">0</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">m</span> <span class="special">=</span>
+ <span class="identifier">n</span><span class="special">;</span>
+ <span class="keyword">while</span><span class="special">(</span><span class="identifier">m</span><span class="special">--)</span>
+ <em class="replaceable"><code>put-modifier</code></em><span class="number">0</span><span class="special">(</span>
+ cont<span class="special">,</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_repeat</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put-adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_repeat</span>
+ <span class="special">=</span> <span class="identifier">n</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">put-adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.repeat.example"></a><h6>
+<a name="id36355874"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.repeat.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_repeat"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">)</span>
+ <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+ </pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.ref.put.modifier.standard"></a><a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard" title="Standard">Standard</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.ref.put.modifier.standard.header"></a><h6>
+<a name="id36356508"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/standard.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.standard.description"></a><h6>
+<a name="id36356556"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.description">Description</a>
+ </h6>
+<p>
+ A standard modifier template.
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.standard.synopsis"></a><h6>
+<a name="id36356578"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_standard_modifier</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+<span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_standard_modifier</span> <span class="keyword">const</span> <span class="identifier">_standard_modifier</span><span class="special">;</span>
+
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.standard.semantics"></a><h6>
+<a name="id36356731"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code><modifier_tag::FUN>`
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Defines <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>
+ as an empty class.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code>
+ on <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>,
+ such that <code class="computeroutput"><em class="replaceable"><code>put-modifier</code></em><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> cont<span class="special">,</span>
+ t <span class="special">)</span></code> forwards to the
+ modifier of <code class="computeroutput">cont</code> named FUN, using move semantics
+ where possible.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.ref.put.modifier.standard.example"></a><h6>
+<a name="id36357106"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.modifier.standard.instances"></a><h6>
+<a name="id36357170"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.modifier.standard.instances">Instances</a>
+ </h6>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ <a class="link" href="../../">Insert</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../../">Push</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../../">Push_back</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="../../">Push_front</a>
+ </li>
+</ul></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.pipe"></a><a class="link" href="put.html#boost_assign_v2.ref.put.pipe" title="Pipe">Pipe</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.put.pipe.header"></a><h6>
+<a name="id36357262"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.pipe.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/pipe.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.pipe.description"></a><h6>
+<a name="id36357308"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.pipe.description">Description</a>
+ </h6>
+<p>
+ Overloads <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code><sup>[<a name="id36357335" href="#ftn.id36357335" class="footnote">6</a>]</sup>, such as to make <a class="link" href="../../"><code class="computeroutput"><span class="identifier">put</span></code></a> composable.
+ </p>
+<a name="boost_assign_v2.ref.put.pipe.synopsis"></a><h6>
+<a name="id36357377"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.pipe.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="comment">// put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">enable_pars</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">size</span><span class="special"><</span><span class="identifier">ArgsList</span><span class="special">>::</span><span class="identifier">value</span> <span class="special">==</span> <span class="number">0</span>
+ <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">args_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="keyword">bool</span> <span class="identifier">enable_pars</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="identifier">enable_pars</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">args_list_</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_put</span> <span class="special">=</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><>();</span>
+
+<span class="comment">// csv_put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">arg_list_size_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Pars</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">arg_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector0</span><span class="special"><></span> <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">arg_list_generator</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span><span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">N</span><span class="special">,</span> <span class="identifier">U</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg_list</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list_generator</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_csv_put</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.pipe.semantics"></a><h6>
+<a name="id36358166"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.pipe.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Indivual elements of the argument list, <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"> <code class="computeroutput">p1, ..., pm</code> </span></dt>
+<dd><p>
+ Parameters passed in the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. The special case <code class="literal">m = 0</code>
+ means an empty list
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> _csv_put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments by reference (no copying)
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span> _put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments of each invocation by reference (no copying)
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _csv_put % p1 ...
+ % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _put % p1 ... %
+ pm <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Operator|</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">arg_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> t<span class="number">1</span> <span class="special">)...(</span> tn <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">args_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> <span class="identifier">args1</span> <span class="special">)...(</span> <span class="identifier">argsn</span> <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The semantics above are borrowed from <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">range
+ adaptors</a>, but they differ in that the latter transforms a range,
+ whereas, here, the state of a container is modified. In each case, however,
+ composability follows, which is explained here
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.pipe.example"></a><h6>
+<a name="id36358909"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.pipe.example">Example</a>
+ </h6>
+<a name="ex_put_pipe"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <a class="co" name="boost_assign_v227co" href="put.html#boost_assign_v227"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"y"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"z"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v227"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="computeroutput"><span class="string">"x"</span></code>, <code class="computeroutput"><span class="string">"y"</span></code> and <code class="computeroutput"><span class="string">"z"</span></code>
+ are kept as <code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">2</span><span class="special">]</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">interval</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">6</span><span class="special">></span> <span class="identifier">all6</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">all6</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_put</span><span class="special">(</span> <span class="number">1</span> <span class="special">)(</span> <span class="number">2</span> <span class="special">)(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">interval</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">5</span> <span class="special">)(</span> <span class="number">6</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">interval</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">front</span> <span class="special">=</span> <span class="special">(</span>
+ <span class="identifier">powers</span> <span class="special">|</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">16</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span>
+<span class="special">).</span><span class="identifier">front</span><span class="special">();</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">front</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">==</span> <span class="number">16</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.put.put"></a><a class="link" href="put.html#boost_assign_v2.ref.put.put" title="Put">Put</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.put.put.header"></a><h6>
+<a name="id36360268"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.put.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/put.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.put.put.description"></a><h6>
+<a name="id36360315"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.put.description">Description</a>
+ </h6>
+<p>
+ An <a class="link" href="../../">adapter</a>
+ wrapped around a user supplied container
+ </p>
+<a name="boost_assign_v2.ref.put.put.synopsis"></a><h6>
+<a name="id36360344"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.put.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">container_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">result_type</span><span class="special">;</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">container_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v228co" href="put.html#boost_assign_v228"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v229co" href="put.html#boost_assign_v229"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v230co" href="put.html#boost_assign_v230"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">put</span><span class="special">{;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">put</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v228"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v229"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v230"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.ref.put.put.semantics"></a><h6>
+<a name="id36361123"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.put.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span>
+ <span class="identifier">Tag</span><span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <a class="link" href="../../"><code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span>
+ <span class="identifier">Tag</span><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span>
+ <span class="identifier">deduce_fun</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span>
+ <span class="identifier">deduce_modifier_tag</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ An instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="../../">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.ref.put.put.example"></a><h6>
+<a name="id36361582"></a>
+ <a class="link" href="put.html#boost_assign_v2.ref.put.put.example">Example</a>
+ </h6>
+<a name="ex_put_put"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">bitset</span><span class="special"><</span><span class="number">3</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <a class="co" name="boost_assign_v231co" href="put.html#boost_assign_v231"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">consecutive</span><span class="special">;</span>
+<a class="co" name="boost_assign_v232co" href="put.html#boost_assign_v232"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">consecutive</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"001"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"010"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"100"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"101"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"110"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">consecutive</span><span class="special">[</span><span class="identifier">i</span><span class="special">].</span><span class="identifier">to_ulong</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v231"></a> </p></td>
+<td valign="top" align="left"><p>
+ Keep in mind that although <code class="computeroutput"><span class="identifier">data_</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>,
+ for instance, is valid, <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ isn't (GCC4.2)
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v232"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span>
+ <span class="special">);</span></code> for <code class="literal">t = </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span></code><code class="literal">,
+ ..., </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v233co" href="put.html#boost_assign_v233"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v234co" href="put.html#boost_assign_v234"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v233"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code> for <code class="literal">( i, t ) = ( 0, "+"
+ ), ..., ( 5, "." )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v234"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="number">6</span> <span class="special">+</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="special">*(</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">)</span> <span class="special">)</span></code> for <code class="literal">i = 0, ..., 9</code>
+ and <code class="literal">b =</code> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">numeric</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="identifier">data_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">variable_size_</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">a</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">a</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.71</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.63</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.85</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">b</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span> <span class="identifier">b</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.61</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.92</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.55</span><span class=
"special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">variable_size_</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">ragged</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">ragged</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v235co" href="put.html#boost_assign_v235"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">),</span> <span class="identifier">end</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">)</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v236co" href="put.html#boost_assign_v236"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">b</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v237co" href="put.html#boost_assign_v237"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v238co" href="put.html#boost_assign_v238"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="special">(</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">0</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">3</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v235"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v236"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">b</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v237"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span>
+ <span class="special">-</span><span class="number">99.99</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v238"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 4</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">adapter</span><span class="special">;</span> <a class="co" name="boost_assign_v239co" href="put.html#boost_assign_v239"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">adapter</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">array</span><span class="special">;</span> <a class="co" name="boost_assign_v240co" href="put.html#boost_assign_v240"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">array</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span> <a class="co" name="boost_assign_v241co" href="put.html#boost_assign_v241"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">seq</span><span class="special">;</span> <a class="co" name="boost_assign_v242co" href="put.html#boost_assign_v242"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">seq</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v239"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">adapter</span><span class="special">.</span><span class="identifier">push</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v240"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">array</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">t</span></code>
+ for <code class="literal">( i, t ) = ( 0, 72 ), ( 1, 31 ), ( 2, 48 )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v241"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">assoc</span><span class="special">.</span><span class="identifier">insert</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v242"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">seq</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 5</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="identifier">us_state_</span> <span class="special">[</span><span class="number">3</span><span class="special">];</span> <span class="identifier">us_state_</span> <span class="identifier">ct</span> <span class="special">=</span> <span class="string">"CT"</span><span class="special">,</span> <span class="identifier">nj</span> <span class="special">=</span> <span class="string">"NJ"</span><span class="special">,</span> <span class="identifier">ny</span> <span class="special">=</span> <span class="string">"NY"</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">area_code_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">tuple</span><span class="special"><</span><span class="identifier">us_state_</span><a class="co" name="boost_assign_v243co" href="put.html#boost_assign_v243"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">area_code_</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span> <span class="identifier">data_</span> <span class="special">></span> <span class="identifier">tri_state_area</span><span class="special">;</span>
+<a class="co" name="boost_assign_v244co" href="put.html#boost_assign_v244"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">tri_state_area</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">212</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">718</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">516</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">914</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">210</span> <span class="special">)(</span> <span class="id
entifier">nj</span><span class="special">,</span> <span class="number">908</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">609</span> <span class="special">)(</span> <span class="identifier">ct</span><span class="special">,</span> <span class="number">203</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">ny</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">203</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v243"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the <span class="bold"><strong>reference</strong></span>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v244"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">tri_state</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">s</span><span class="special">,</span>
+ <span class="identifier">c</span> <span class="special">)</span>
+ <span class="special">)</span></code> for <code class="literal">( s, c ) =( ny,
+ 212 )...( ct, 203 )</code>
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36357335" href="#id36357335" class="para">6</a>] </sup>
+ The reason for calling it <span class="emphasis"><em>pipe</em></span> rather than <span class="emphasis"><em>bitwise
+ or</em></span>, the C++ convention, is that the former speaks better to
+ the semantics that it implements in this particular context, in reference
+ to the idiom
+ by the same name.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="config.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/wrapper.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/ref/wrapper.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,325 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Wrapper</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../ref.html" title="Ref">
+<link rel="prev" href="array.html" title="Array">
+<link rel="next" href="../utility.html" title="Utility">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="array.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../utility.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.ref.wrapper"></a><a class="link" href="wrapper.html" title="Wrapper">Wrapper</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Copy</span></dt>
+<dt><span class="section">Range_get</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.wrapper.crtp"></a><a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.crtp" title="Crtp">Crtp</a>
+</h4></div></div></div>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/wrapper/crtp.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.wrapper.crtp.synopsis"></a><h6>
+<a name="id36346962"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+ Defines
+</p>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ Refer to the above header for details.
+ </p>
+<a name="boost_assign_v2.ref.wrapper.crtp.models"></a><h6>
+<a name="id36347066"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.crtp.models">Models</a>
+ </h6>
+<p>
+ Derived reference wrappers are, by convention, identified by a tag in
+ <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span></code>, and implemented as specializations
+ of
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.wrapper.copy"></a><a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.copy" title="Copy">Copy</a>
+</h4></div></div></div>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/wrapper/copy.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.wrapper.copy.synopsis"></a><h6>
+<a name="id36347230"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.copy.synopsis">Synopsis</a>
+ </h6>
+<p>
+ Fix <code class="computeroutput">T</code>.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Class
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A tag identifying a specialization of <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper</span><span class="special"><></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">,</span>T<span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits from <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">copy_wrapper</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Identical to <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">,</span><span class="identifier">T</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ Let <code class="computeroutput"><span class="identifier">w</span></code> denote an instance
+ of <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">copy_wrapper</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span></code>.
+ </p>
+<div class="table">
+<a name="boost_assign_v2.ref.wrapper.copy.properties_of_ref__copy_wrapper_t___type"></a><p class="title"><b>Table 1.23. Properties of ref::copy_wrapper<T>::type</b></p>
+<div class="table-contents"><table class="table" summary="Properties of ref::copy_wrapper<T>::type">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Item
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Internal storage
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps a pointer, <code class="computeroutput"><span class="identifier">ptr</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Default constructor
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">ptr</span></code> un-initiliazed
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">w</span><span class="special">.</span><span class="identifier">assign</span><span class="special">(</span>
+ t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Assigns <code class="computeroutput">t</code> to <code class="computeroutput"><span class="special">*</span><span class="identifier">ptr</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><p>
+ Refer to the above header for details.
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.ref.wrapper.range_get"></a><a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.range_get" title="Range_get">Range_get</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.ref.wrapper.range_get.header"></a><h6>
+<a name="id36347786"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.range_get.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/ref/wrapper/range_get.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.ref.wrapper.range_get.synopsis"></a><h6>
+<a name="id36347831"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.range_get.synopsis">Synopsis</a>
+ </h6>
+<p>
+ Let <code class="computeroutput">r</code> denote a range
+ of reference-wrappers, and <code class="computeroutput"><span class="identifier">it</span></code>
+ its iterator.
+ </p>
+<div class="table">
+<a name="boost_assign_v2.ref.wrapper.range_get.usage"></a><p class="title"><b>Table 1.24. Usage</b></p>
+<div class="table-contents"><table class="table" summary="Usage">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">range_get</span><span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Maps <code class="computeroutput"><span class="special">*</span><span class="identifier">it</span></code>
+ to <code class="computeroutput"><span class="identifier">it</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _get</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">range_get</span><span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<br class="table-break"><a name="boost_assign_v2.ref.wrapper.range_get.example"></a><h6>
+<a name="id36348032"></a>
+ <a class="link" href="wrapper.html#boost_assign_v2.ref.wrapper.range_get.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="array.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../utility.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,389 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Reference</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="conv.html" title="Conventions">
+<link rel="next" href="reference/conversion.html" title="Conversion">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conv.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference/conversion.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.reference"></a><a class="link" href="reference.html" title="Reference">Reference</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Chain</span></dt>
+<dd><dl>
+<dt><span class="section">Chain</span></dt>
+<dt><span class="section">Logical_and</span></dt>
+</dl></dd>
+<dt><span class="section">Conversion</span></dt>
+<dd><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></dd>
+<dt><span class="section">Csv</span></dt>
+<dt><span class="section">Detail</span></dt>
+<dd><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+<dt><span class="section">Config</span></dt>
+</dl></dd>
+<dt><span class="section">Include</span></dt>
+<dt><span class="section">Interpreter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dd><dl>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Csv_deque</span></dt>
+</dl></dd>
+<dt><span class="section">Option</span></dt>
+<dd><dl>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Key</span></dt>
+<dt><span class="section">Mapped</span></dt>
+<dt><span class="section">Modifier</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Std_modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dd><dl><dt><span class="section">Csv_put</span></dt></dl></dd>
+<dt><span class="section">Put</span></dt>
+<dt><span class="section">Ref</span></dt>
+<dd><dl>
+<dt><span class="section">Array</span></dt>
+<dd><dl>
+<dt><span class="section">Array</span></dt>
+<dt><span class="section">Csv_array</span></dt>
+<dt><span class="section">Get</span></dt>
+<dt><span class="section">Interface</span></dt>
+</dl></dd>
+<dt><span class="section">Include</span></dt>
+<dt><span class="section">Wrapper</span></dt>
+<dd><dl>
+<dt><span class="section">Copy</span></dt>
+<dt><span class="section">Crtp</span></dt>
+</dl></dd>
+</dl></dd>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.chain"></a><a class="link" href="reference.html#boost_assign_v2.reference.chain" title="Chain">Chain</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Chain</span></dt>
+<dt><span class="section">Logical_and</span></dt>
+</dl></div>
+<a name="boost_assign.reference.chain.header"></a><h5>
+<a name="id36335687"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/chain.hpp
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header does not include <code class="literal">boost/assign/v2/chain/logical_and.hpp</code>.
+ </p></td></tr>
+</table></div>
+<a name="boost_assign.reference.chain.description"></a><h5>
+<a name="id36335724"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.description">Description</a>
+ </h5>
+<p>
+ A variant of join
+ that caters to <a class="link" href="reference/ref.html" title="Ref">reference arrays</a>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.chain.chain"></a><a class="link" href="reference.html#boost_assign.reference.chain.chain" title="Chain">Chain</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.chain.chain.header"></a><h6>
+<a name="id36335762"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.chain.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/chain/chain.hpp
+ </p>
+<a name="boost_assign.reference.chain.chain.description"></a><h6>
+<a name="id36335787"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.chain.description">Description</a>
+ </h6>
+<p>
+ Invocation.
+ </p>
+<a name="boost_assign.reference.chain.chain.synopsis"></a><h6>
+<a name="id36335804"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.chain.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">chain_aux</span><span class="special">{</span>
+
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">adaptor1</span><span class="special">;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">adaptor2</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span><span class="identifier">R1</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">chain_aux</span>
+
+ <span class="keyword">const</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor2</span> <span class="identifier">_chain</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">chain</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">chained</span></code></span></dt>
+<dd><p>
+ result of <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span>
+ _chain<span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special">+</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">chained</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special"><</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">?</span>
+ <span class="identifier">i</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r1</span> <span class="special">)</span>
+ <span class="special">:</span> <span class="identifier">i</span>
+ <span class="special">-</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r2</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Although a reference array is (generally) generated in placed, its elements
+ may be convertible to non-const lvalue references. Chaining preserves this
+ property.
+ </p>
+<a name="boost_assign.reference.chain.chain.example"></a><h6>
+<a name="id36336618"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.chain.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"A"</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"B"</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">tail</span><span class="special">;</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"C"</span> <span class="special">);</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"D"</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">joined</span><span class="special">;</span> <span class="identifier">copy</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">),</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_inserter</span><span class="special">(</span> <span class="identifier">joined</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">joined</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"A"</span><span class="special">,</span> <span class="string">"B"</span><span class="special">,</span> <span class="string">"C"</span><span class="special">,</span> <span class="string">"D"</span><span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">word</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">words</span><span class="special">(</span> <span class="number">6</span> <span class="special">);</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"foo"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"bar"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="string">"baz"</span><span class="special">;</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="string">"qux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">=</span> <span class="string">"quux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">5</span><span class="special">]</span> <span class="special">=</span> <span class="string">"grault"</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">word</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">tail</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span>
+<span class="identifier">copy</span><span class="special">(</span> <span class="identifier">words</span><span class="special">,</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">head</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">word</span><span class="special">>(</span> <span class="string">"foo"</span><span class="special">,</span> <span class="string">"bar"</span><span class="special">,</span> <span class="string">"baz"</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">tail</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">word</span><span class="special">>(</span> <span class="string">"qux"</span><span class="special">,</span> <span class="string">"quux"</span><span class="special">,</span> <span class="string">"grault"</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><a class="co" name="boost_assign0co" href="reference.html#boost_assign0"><img src="../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span>
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span class="identifier">i</span><span class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">consecutive5</span> <span class="special">&&</span> <span class="special">(</span><a class="co" name="boost_assign1co" href="reference.html#boost_assign1"><img src="../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="sp
ecial">)</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span> <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">seven</span> <span class="special">==</span> <span class="number">7</span> <span class="special">);</span> <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign0"></a> </p></td>
+<td valign="top" align="left"><p>
+ Needed to bring && into scope
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign1"></a> </p></td>
+<td valign="top" align="left"><p>
+ rvalue!
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.chain.logical_and"></a><a class="link" href="reference.html#boost_assign.reference.chain.logical_and" title="Logical_and">Logical_and</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.chain.logical_and.header"></a><h6>
+<a name="id36338366"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.logical_and.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/chain/logical_and.hpp
+ </p>
+<a name="boost_assign.reference.chain.logical_and.description"></a><h6>
+<a name="id36338393"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.logical_and.description">Description</a>
+ </h6>
+<p>
+ Alternative syntax.
+ </p>
+<a name="boost_assign.reference.chain.logical_and.semantics"></a><h6>
+<a name="id36338413"></a>
+ <a class="link" href="reference.html#boost_assign.reference.chain.logical_and.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">r1</span> <span class="special">&&</span>
+ <span class="identifier">r2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conv.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reference/conversion.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/config.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/config.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,301 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Config</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="../reference.html" title="Reference">
+<link rel="next" href="value.html" title="Value">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.config"></a><a class="link" href="config.html" title="Config">Config</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Limit arity</span></dt>
+<dt><span class="section">Limit csv-arity</span></dt>
+<dt><span class="section"><a href="config.html#boost_assign_v2.reference.config.lconst_arity">Limit
+ lvalue-const arity</a></span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.config.header"></a><h5>
+<a name="id36337437"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.header">Header</a>
+ </h5>
+<p>
+ Does not have a header.
+ </p>
+<a name="boost_assign_v2.reference.config.description"></a><h5>
+<a name="id36337454"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.description">Description</a>
+ </h5>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.config.arity"></a><a class="link" href="config.html#boost_assign_v2.reference.config.arity" title="Limit arity">Limit arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.config.arity.header"></a><h6>
+<a name="id36337478"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.arity.syntax"></a><h6>
+<a name="id36337518"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.arity.semantics"></a><h6>
+<a name="id36337554"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.config.csv_arity"></a><a class="link" href="config.html#boost_assign_v2.reference.config.csv_arity" title="Limit csv-arity">Limit csv-arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.config.csv_arity.header"></a><h6>
+<a name="id36337661"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.csv_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_csv_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.csv_arity.syntax"></a><h6>
+<a name="id36337704"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.csv_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.csv_arity.semantics"></a><h6>
+<a name="id36337740"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.csv_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ Limits a csv-function's max # of arguments
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.config.lconst_arity"></a><a class="link" href="config.html#boost_assign_v2.reference.config.lconst_arity" title="Limit lvalue-const arity">Limit
+ lvalue-const arity</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.config.lconst_arity.header"></a><h6>
+<a name="id36337856"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.lconst_arity.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/detail/config/limit_arity.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.lconst_arity.syntax"></a><h6>
+<a name="id36337898"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.lconst_arity.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.config.lconst_arity.semantics"></a><h6>
+<a name="id36337934"></a>
+ <a class="link" href="config.html#boost_assign_v2.reference.config.lconst_arity.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments for which any mixture of lvalue
+ and const-lvalues is preserved
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Beyond this limit, arguments are treated as either all lvalues or all const-lvalues.
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Applies to C++03,
+ not C++0x
+ </p></td></tr>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/conversion.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/conversion.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,336 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Conversion</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="../reference.html" title="Reference">
+<link rel="next" href="csv.html" title="Csv">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.conversion"></a><a class="link" href="conversion.html" title="Conversion">Conversion</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></div>
+<a name="boost_assign.reference.conversion.header"></a><h5>
+<a name="id36338540"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/conversion.hpp
+ </p>
+<a name="boost_assign.reference.conversion.description"></a><h5>
+<a name="id36338562"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.description">Description</a>
+ </h5>
+<p>
+ Range-to-container conversion
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.conversion.convert"></a><a class="link" href="conversion.html#boost_assign.reference.conversion.convert" title="Convert">Convert</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.conversion.convert.header"></a><h6>
+<a name="id36338591"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.convert.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/conversion/convert.hpp
+ </p>
+<a name="boost_assign.reference.conversion.convert.description"></a><h6>
+<a name="id36338619"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.convert.description">Description</a>
+ </h6>
+<p>
+ Explicit conversion.
+ </p>
+<a name="boost_assign.reference.conversion.convert.synopsis"></a><h6>
+<a name="id36338639"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.convert.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_tag</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{};</span>
+ <span class="keyword">struct</span> <span class="identifier">copy</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">convert_tag</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert_adapter</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="keyword">operator</span><span class="special">|(</span> <span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">C</span> <span class="comment">// Container
+</span> <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R</span> <span class="comment">// Range
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+<span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="identifier">_convert</span><span class="special">();</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.conversion.convert.semantics"></a><h6>
+<a name="id36339000"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.convert.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code> is defined as the switch below:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Case
+ </p>
+ </th>
+<th>
+ <p>
+ Statement
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code> is either an Array
+ or an Adapter
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont<span class="special">;</span> <span class="identifier">put</span><span class="special">(</span> cont <span class="special">)(</span>
+ as_arg_list<span class="special">(</span> r <span class="special">)</span>
+ <span class="special">)</span></code> and returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Otherwise
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C<span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.reference.conversion.convert.example"></a><h6>
+<a name="id36339214"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.convert.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">ar_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">ar</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">ar_</span><span class="special">>()</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.conversion.converter"></a><a class="link" href="conversion.html#boost_assign.reference.conversion.converter" title="Converter">Converter</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.conversion.converter.header"></a><h6>
+<a name="id36339628"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.converter.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/utility/conversion/converter.hpp
+ </p>
+<a name="boost_assign.reference.conversion.converter.description"></a><h6>
+<a name="id36339653"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.converter.description">Description</a>
+ </h6>
+<p>
+ Implicit conversion.
+ </p>
+<a name="boost_assign.reference.conversion.converter.synopsis"></a><h6>
+<a name="id36339673"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.converter.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">conversion_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">converter</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">explicit</span> <span class="identifier">converter</span><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">r</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">operator</span> <span class="identifier">C</span> <span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="identifier">type</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">converter</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">converter</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.conversion.converter.semantics"></a><h6>
+<a name="id36340058"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.converter.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">c</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput">converter<span class="special">(</span> r <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Converter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Calls <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> <span class="identifier">c</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">C cont <span class="special">=</span>
+ <span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.reference.conversion.converter.example"></a><h6>
+<a name="id36340284"></a>
+ <a class="link" href="conversion.html#boost_assign.reference.conversion.converter.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">sz</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">row_</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">row_</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">matrix3x3</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">7</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">9</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">9</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">matrix3x3</span><span class="special">[</span> <span class="identifier">i</span> <span class="special">/</span> <span class="number">3</span> <span class="special">][</span> <span class="identifier">i</span> <span class="special">%</span> <span class="number">3</span> <span class="special">]</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">+</span> <span class="number">1</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/csv.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/csv.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,171 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Csv</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="conversion.html" title="Conversion">
+<link rel="next" href="detail.html" title="Detail">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conversion.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.csv"></a><a class="link" href="csv.html" title="Csv">Csv</a>
+</h3></div></div></div>
+<a name="boost_assign.reference.csv.header"></a><h5>
+<a name="id36340895"></a>
+ <a class="link" href="csv.html#boost_assign.reference.csv.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/utility/csv.hpp
+ </p>
+<a name="boost_assign.reference.csv.description"></a><h5>
+<a name="id36340920"></a>
+ <a class="link" href="csv.html#boost_assign.reference.csv.description">Description</a>
+ </h5>
+<p>
+ Maps an arbitrary functor to the csv form.
+ </p>
+<a name="boost_assign.reference.csv.synopsis"></a><h5>
+<a name="id36340938"></a>
+ <a class="link" href="csv.html#boost_assign.reference.csv.synopsis">Synopsis</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">V</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">nth_result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv</span><span class="special"><</span><span class="identifier">F</span> <span class="keyword">const</span><span class="special">&,</span>
+ <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector0</span><span class="special"><></span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">functor</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv</span><span class="special"><</span><span class="identifier">F</span> <span class="keyword">const</span><span class="special">&,</span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">detail</span><span class="special">::</span><span class="identifier">variadic_vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">Args</span><span class="special">...>::</span><span class="identifier">type</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">functor</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span><span class="special">&&...</span> <span class="identifier">args</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.csv.semantics"></a><h5>
+<a name="id36341393"></a>
+ <a class="link" href="csv.html#boost_assign.reference.csv.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">csv<span class="special">(</span> <span class="identifier">functor</span><span class="special">,</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"> <span class="identifier">functor</span><span class="special">(</span>
+ t<span class="number">1</span> <span class="special">)</span>
+ <span class="special">...</span> <span class="special">(</span>
+ tn <span class="special">)</span> </code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.csv.example"></a><h5>
+<a name="id36341591"></a>
+ <a class="link" href="csv.html#boost_assign.reference.csv.example">Example</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">),</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">48</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">72</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conversion.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="detail.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/deque.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/deque.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,314 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Deque</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="interpreter.html" title="Interpreter">
+<link rel="next" href="option.html" title="Option">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="interpreter.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="option.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.deque"></a><a class="link" href="deque.html" title="Deque">Deque</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Csv_deque</span></dt>
+</dl></div>
+<a name="boost_assign.reference.deque.header"></a><h5>
+<a name="id36347172"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/deque.hpp
+ </p>
+<a name="boost_assign.reference.deque.description"></a><h5>
+<a name="id36347239"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.description">Description</a>
+ </h5>
+<p>
+ Interpreter that generates a deque container.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.deque.deque"></a><a class="link" href="deque.html#boost_assign.reference.deque.deque" title="Deque">Deque</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.deque.deque.header"></a><h6>
+<a name="id36347276"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.deque.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/deque/deque.hpp
+ </p>
+<a name="boost_assign.reference.deque.deque.description"></a><h6>
+<a name="id36347351"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.deque.description">Description</a>
+ </h6>
+<p>
+ Functor form
+ </p>
+<a name="boost_assign.reference.deque.deque.synopsis"></a><h6>
+<a name="id36347373"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.deque.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deque_impl</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">deque_interpreter</span>
+ <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">interpreter_crtp</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">deque_impl</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span>
+ <span class="identifier">deque_interpreter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="special">></span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+
+ <span class="comment">// Construct
+</span> <span class="identifier">deque_interpreter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">deque_interpreter</span><span class="special">(</span> <span class="identifier">impl_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="comment">// Deque interface
+</span> <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">max_size</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span><span class="keyword">const</span><span class="special">;;</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">pop_front</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">pop_back</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">deque_interpreter</span><span class="special">&</span> <span class="identifier">that</span><span class="special">);</span>
+
+ <span class="identifier">impl_</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">replace_data_generator</span><span class="special"><</span> <span class="identifier">deque_interpreter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">></span>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F1</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_interpreter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">></span><span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+ <span class="special">}/*->*/;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">deque</span><span class="special">(</span><span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.deque.deque.examples"></a><h6>
+<a name="id36348715"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.deque.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+
+<span class="identifier">C</span> <span class="identifier">empty_cont</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">);</span>
+<span class="identifier">C</span> <span class="identifier">cont1</span> <span class="special">=</span> <span class="identifier">empty_cont</span><span class="special">(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">C</span> <span class="identifier">cont2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont2</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+
+<span class="identifier">C</span> <span class="identifier">deque</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"y"</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="identifier">str_</span><span class="special">></span> <span class="identifier">T</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+<span class="identifier">C</span> <span class="identifier">airports</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"London"</span><span class="special">)(</span><span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span><span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"Heathrow"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span><span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">airports</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.deque.csv_deque"></a><a class="link" href="deque.html#boost_assign.reference.deque.csv_deque" title="Csv_deque">Csv_deque</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.deque.csv_deque.header"></a><h6>
+<a name="id36350097"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.csv_deque.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/deque/csv_deque.hpp
+ </p>
+<a name="boost_assign.reference.deque.csv_deque.description"></a><h6>
+<a name="id36350173"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.csv_deque.description">Description</a>
+ </h6>
+<p>
+ Csv form
+ </p>
+<a name="boost_assign.reference.deque.csv_deque.synopsis"></a><h6>
+<a name="id36350195"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.csv_deque.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque_value</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_deque</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">...</span> <span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.deque.csv_deque.examples"></a><h6>
+<a name="id36350464"></a>
+ <a class="link" href="deque.html#boost_assign.reference.deque.csv_deque.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span> <span class="special">));</span>
+
+<span class="identifier">C</span> <span class="identifier">cont1</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">C</span> <span class="identifier">cont2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont2</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">[</span><span class="number">2</span><span class="special">]>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>::</span><span class="identifier">type</span><span class="special">></span> <span class="special">));</span>
+
+<span class="identifier">C</span> <span class="identifier">deque</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"y"</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="interpreter.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="option.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/detail.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/detail.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,242 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Detail</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="csv.html" title="Csv">
+<link rel="next" href="include.html" title="Include">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="csv.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="include.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.detail"></a><a class="link" href="detail.html" title="Detail">Detail</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+<dt><span class="section">Config</span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.detail.header"></a><h5>
+<a name="id36342205"></a>
+ <a class="link" href="detail.html#boost_assign_v2.reference.detail.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/detail/detail.hpp
+ </p>
+<a name="boost_assign_v2.reference.detail.description"></a><h5>
+<a name="id36342227"></a>
+ <a class="link" href="detail.html#boost_assign_v2.reference.detail.description">Description</a>
+ </h5>
+<p>
+ Functionality that is used by various parts of the library
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.detail.keyword"></a><a class="link" href="detail.html#boost_assign_v2.reference.detail.keyword" title="Keyword">Keyword</a>
+</h4></div></div></div>
+<div class="toc"><dl><dt><span class="section">Nil</span></dt></dl></div>
+<a name="boost_assign.reference.detail.keyword.header"></a><h6>
+<a name="id36342255"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/detail/detail/keyword.hpp
+ </p>
+<a name="boost_assign.reference.detail.keyword.description"></a><h6>
+<a name="id36342280"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.description">Description</a>
+ </h6>
+<p>
+ Keywords used by the rest of the library
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.detail.keyword.nil"></a><a class="link" href="detail.html#boost_assign.reference.detail.keyword.nil" title="Nil">Nil</a>
+</h5></div></div></div>
+<a name="boost_assign.reference.detail.keyword.nil.header"></a><h6>
+<a name="id36342310"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.nil.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/detail/detail/keyword/nil.hpp
+ </p>
+<a name="boost_assign.reference.detail.keyword.nil.description"></a><h6>
+<a name="id36342397"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.nil.description">Description</a>
+ </h6>
+<p>
+ Type on which a function or a functor is overloaded to request an empty
+ container
+ </p>
+<a name="boost_assign.reference.detail.keyword.nil.synopsis"></a><h6>
+<a name="id36342418"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.nil.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">keyword_aux</span><span class="special">{</span> <span class="keyword">struct</span> <span class="identifier">nil</span><span class="special">{};</span> <span class="special">}</span>
+ <span class="keyword">const</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span> <span class="identifier">_nil</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.detail.keyword.nil.examples"></a><h6>
+<a name="id36342502"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.keyword.nil.examples">Examples</a>
+ </h6>
+<p>
+ None
+ </p>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.detail.config"></a><a class="link" href="detail.html#boost_assign_v2.reference.detail.config" title="Config">Config</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.detail.config.header"></a><h6>
+<a name="id36342532"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.config.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/detail/config/limit_arity.hpp
<br>
+ boost/assign/v2/detail/config/limit_csv_arity.hpp
<br>
+ boost/assign/v2/detail/config/limit_lvalue_const_arity.hpp
+ </p>
+<a name="boost_assign.reference.detail.config.description"></a><h6>
+<a name="id36342731"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.config.description">Description</a>
+ </h6>
+<p>
+ Lirary constants that affect C++03,
+ not C++0x
+ </p>
+<a name="boost_assign.reference.detail.config.synopsis"></a><h6>
+<a name="id36342760"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.config.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.detail.config.semantics"></a><h6>
+<a name="id36342821"></a>
+ <a class="link" href="detail.html#boost_assign.reference.detail.config.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Constant
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_MPL_LIMIT_METAFUNCTION_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_CSV_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ Limits a csv-function's max # of arguments
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_LIMIT_LVALUE_CONST_ARITY</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ A functor's max # of arguments for which any mixture of lvalue
+ and const-lvalues is preserved <sup>[<a name="id36342966" href="#ftn.id36342966" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="3"><div class="footnote"><p><sup>[<a name="ftn.id36342966" href="#id36342966" class="para">a</a>] </sup>
+ Beyond this limit, arguments are treated as either all lvalues
+ or all const-lvalues.
+ </p></div></td></tr></tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="csv.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="include.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/include.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/include.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,403 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Include</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="detail.html" title="Detail">
+<link rel="next" href="interpreter.html" title="Interpreter">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="interpreter.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.include"></a><a class="link" href="include.html" title="Include">Include</a>
+</h3></div></div></div>
+<a name="boost_assign.reference.include.header"></a><h5>
+<a name="id36342997"></a>
+ <a class="link" href="include.html#boost_assign.reference.include.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/include
+ </p>
+<a name="boost_assign.reference.include.description"></a><h5>
+<a name="id36343049"></a>
+ <a class="link" href="include.html#boost_assign.reference.include.description">Description</a>
+ </h5>
+<p>
+ Header lookup by identifier. Also see <a class="link" href="ref.html#ref_include">Ref.Include</a>.
+ </p>
+<a name="boost_assign.reference.include.synopsis"></a><h5>
+<a name="id36343071"></a>
+ <a class="link" href="include.html#boost_assign.reference.include.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_chain</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r<span class="number">1</span> <span class="special">|</span>
+ _chain<span class="special">(</span> r<span class="number">2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="../reference.html#boost_assign_v2.reference.chain" title="Chain">Chain</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_convert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="conversion.html" title="Conversion">Conversion</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_csv_put</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> _csv_put<span class="special">(</span>
+ args... <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="csv.html" title="Csv">Csv</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_data</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput"><span class="special">(</span> _data <span class="special">=</span>
+ f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_iterate</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput"><span class="special">(</span> _iterate <span class="special">=</span>
+ f <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_key</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_key</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_mapped</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput"><span class="special">(</span> _mapped <span class="special">=</span>
+ arg <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_repeat</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_repeat</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">_std_modifier</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">interpreter <span class="special">%</span> </code><code class="computeroutput">_std_modifier
+ <span class="special">=</span> arg</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv<span class="special">(</span> <span class="identifier">functor</span><span class="special">,</span> args...<span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option">Option</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> args... <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="deque.html" title="Deque">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ args... <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="deque.html" title="Deque">Deque</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">put</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)(</span>
+ args1... <span class="special">)</span> ...<span class="special">(</span>
+ argsn... <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="put.html" title="Put">Put</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="detail.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="interpreter.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/interpreter.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/interpreter.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,439 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Interpreter</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="include.html" title="Include">
+<link rel="next" href="deque.html" title="Deque">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="include.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deque.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.interpreter"></a><a class="link" href="interpreter.html" title="Interpreter">Interpreter</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></div>
+<a name="boost_assign.reference.interpreter.header"></a><h5>
+<a name="id36344168"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/interpreter.hpp
+ </p>
+<a name="boost_assign.reference.interpreter.description"></a><h5>
+<a name="id36344235"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.description">Description</a>
+ </h5>
+<p>
+ Interpreter framework
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.interpreter.as_arglist"></a><a class="link" href="interpreter.html#boost_assign.reference.interpreter.as_arglist" title="As_arg_list">As_arg_list</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.interpreter.as_arglist.header"></a><h6>
+<a name="id36344272"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.as_arglist.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/interpreter/as_arg_list.hpp
+ </p>
+<a name="boost_assign.reference.interpreter.as_arglist.description"></a><h6>
+<a name="id36344348"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.as_arglist.description">Description</a>
+ </h6>
+<p>
+ Command to an interpreter to process each element of a range individually
+ </p>
+<a name="boost_assign.reference.interpreter.as_arglist.synopsis"></a><h6>
+<a name="id36344371"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.as_arglist.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">R</span> <span class="comment">// Range
+</span> <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">as_arg_list_adapter</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">as_arg_list</span><span class="special">;</span> <span class="comment">// Metafunction
+</span>
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+ <span class="keyword">using</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">;</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">as_arg_list</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.interpreter.as_arglist.examples"></a><h6>
+<a name="id36344809"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.as_arglist.examples">Examples</a>
+ </h6>
+<p>
+ None
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.interpreter.crtp"></a><a class="link" href="interpreter.html#boost_assign.reference.interpreter.crtp" title="Crtp">Crtp</a>
+</h4></div></div></div>
+<a name="interpreter_crtp"></a><a name="boost_assign.reference.interpreter.crtp.header"></a><h6>
+<a name="id36344851"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.crtp.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/interpreter/crtp.hpp
+ </p>
+<a name="boost_assign.reference.interpreter.crtp.description"></a><h6>
+<a name="id36344927"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.crtp.description">Description</a>
+ </h6>
+<p>
+ Interpreter crtp
+ </p>
+<a name="boost_assign.reference.interpreter.crtp.synopsis"></a><h6>
+<a name="id36344949"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptDerivedInterpreter1</span><span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptDerivedInterpreter1</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">ref</span> <span class="special">=</span> <span class="identifier">derived</span><span class="special">.</span><span class="identifier">container</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptDerivedInterpreter2</span> <span class="special">:</span> <span class="identifier">ConceptDerivedInterpreter1</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">D</span><span class="special">>{</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">interpreter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="identifier">modifier_</span><span class="special">;</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptDerivedInterpreter2</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">m</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">f</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">modifier_</span> <span class="identifier">m</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">C</span> <span class="comment">// Container,
+</span> <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span> <span class="comment">// Data generator
+</span> <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="comment">// Modifier tag
+</span> <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span> <span class="comment">// Derived
+</span> <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">interpreter_crtp</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">interpreter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span>
+ <span class="identifier">modifier_type</span><span class="special">;</span>
+
+ <span class="identifier">interpreter_crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">interpreter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">interpreter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.interpreter.crtp.examples"></a><h6>
+<a name="id36345944"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.crtp.examples">Examples</a>
+ </h6>
+<p>
+ None
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.interpreter.data"></a><a class="link" href="interpreter.html#boost_assign.reference.interpreter.data" title="Data">Data</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.interpreter.data.header"></a><h6>
+<a name="id36345981"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.data.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/interpreter/data.hpp
+ </p>
+<a name="boost_assign.reference.interpreter.data.description"></a><h6>
+<a name="id36346057"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.data.description">Description</a>
+ </h6>
+<p>
+ Interpreter's data generator
+ </p>
+<a name="boost_assign.reference.interpreter.data.synopsis"></a><h6>
+<a name="id36346079"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.data.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">C</span> <span class="comment">// Value or pointer-container
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deduce_data_generator</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.interpreter.data.semantics"></a><h6>
+<a name="id36346177"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.data.semantics">Semantics</a>
+ </h6>
+<a name="data_gen_rules"></a><p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ Container type
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">T</code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">remove_reference</span><span class="special"><</span>C<span class="special">::</span><span class="identifier">reference</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<p>
+ Metafunction <code class="computeroutput"><span class="identifier">deduce_data_generator</span><span class="special"><</span>C<span class="special">></span></code>
+ returns a generator, variadic in its arguments, of <code class="computeroutput">T</code> and
+ <code class="computeroutput">T<span class="special">*</span></code>, for value- and pointer-containers,
+ respectively.
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.interpreter.modifier"></a><a class="link" href="interpreter.html#boost_assign.reference.interpreter.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<a name="interpreter_modifier"></a><a name="boost_assign.reference.interpreter.modifier.header"></a><h6>
+<a name="id36346354"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.modifier.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/interpreter/modifier.hpp
+ </p>
+<a name="boost_assign.reference.interpreter.modifier.description"></a><h6>
+<a name="id36346430"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.modifier.description">Description</a>
+ </h6>
+<p>
+ Interpreter's modifier
+ </p>
+<a name="boost_assign.reference.interpreter.modifier.synopsis"></a><h6>
+<a name="id36346452"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="comment">// Namespace in which to declare template arguments of `interpreter_modifier<>`
+</span>
+<span class="special">}//</span><span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">interpreter_modifier</span>
+ <span class="special">{</span>
+ <span class="comment">// Specialize on Tag to model ConceptModifier
+</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptModifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptModifier</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">m</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">interpreter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">>&</span> <span class="identifier">m</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">t</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span><span class="identifier">interpreter_aux</span>
+
+<span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">C</span> <span class="comment">// Container
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deduce_modifier_tag</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.interpreter.modifier.semantics"></a><h6>
+<a name="id36346890"></a>
+ <a class="link" href="interpreter.html#boost_assign.reference.interpreter.modifier.semantics">Semantics</a>
+ </h6>
+<a name="modifier_rules"></a><p>
+ Metafunction <code class="computeroutput"><span class="identifier">deduce_modifier_tag</span><span class="special"><</span>C<span class="special">></span></code>
+ implements the following switch statement:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Case
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code> is Associative
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option"><code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code> is an Array
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option"><code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code> is an Adapter
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option"><code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ None of the above
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="option.html" title="Option"><code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code></a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="include.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deque.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/option.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/option.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,1249 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Option</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="deque.html" title="Deque">
+<link rel="next" href="pipe.html" title="Pipe">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.option"></a><a class="link" href="option.html" title="Option">Option</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Key</span></dt>
+<dt><span class="section">Mapped</span></dt>
+<dt><span class="section">Modifier</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Std_modifier</span></dt>
+</dl></div>
+<a name="boost_assign.reference.option.header"></a><h5>
+<a name="id36351536"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/option.hpp
+ </p>
+<div class="warning"><table border="0" summary="Warning">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../doc/src/images/warning.png"></td>
+<th align="left">Warning</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Headers in directory <a class="link" href="option.html" title="Option"><code class="literal">boost/assign/v2/option</code></a>
+ overload <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>.
+ A header from this directory has to be included <span class="bold"><strong>after</strong></span>
+ that of the object to be passed as first argument to <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>.
+ </p></td></tr>
+</table></div>
+<a name="boost_assign.reference.option.description"></a><h5>
+<a name="id36351653"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.description">Description</a>
+ </h5>
+<p>
+ Options to alter the semantics of an <a class="link" href="interpreter.html" title="Interpreter">interpreter</a>.
+ </p>
+<a name="boost_assign.reference.option.semantics"></a><h5>
+<a name="id36351681"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.semantics">Semantics</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">interpreter % option1 ... % optionm</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an interpreter with a modified type or state
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.notation"></a><h5>
+<a name="id36351756"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.notation">Notation</a>
+ </h5>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code></span></dt>
+<dd><p>
+ Arguments passed to <code class="computeroutput">interpreter</code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">t</code></span></dt>
+<dd><p>
+ Data member internally generated by invoking <code class="computeroutput">interpreter<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">cont</code></span></dt>
+<dd><p>
+ Container that <code class="computeroutput">interpreter</code> internally modifies
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">C</code></span></dt>
+<dd><p>
+ Type of <code class="computeroutput">cont</code>
+ </p></dd>
+</dl>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.data"></a><a class="link" href="option.html#boost_assign.reference.option.data" title="Data">Data</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.data.header"></a><h6>
+<a name="id36351913"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.data.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/data.hpp
+ </p>
+<a name="boost_assign.reference.option.data.description"></a><h6>
+<a name="id36351989"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.data.description">Description</a>
+ </h6>
+<p>
+ Data generator option.
+ </p>
+<a name="boost_assign.reference.option.data.semantics"></a><h6>
+<a name="id36352011"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.data.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Data-generation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_data <span class="special">=</span> f</code>
+ </p>
+ </td>
+<td>
+ <p>
+ None
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">t <span class="special">=</span> f<span class="special">(</span>args...<span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.data.example"></a><h6>
+<a name="id36352125"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.data.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">exponent</span><span class="special">;</span>
+
+<span class="keyword">typedef</span> <span class="identifier">function</span><span class="special"><</span><span class="keyword">double</span><span class="special">(</span><span class="keyword">double</span><span class="special">)></span> <span class="identifier">f_</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_data</span> <span class="special">=</span> <span class="identifier">f_</span><span class="special">(</span> <span class="identifier">log10</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign2co" href="option.html#boost_assign2"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="number">1000.0</span> <span class="special">)(</span> <span class="number">10.0</span> <span class="special">)(</span> <span class="number">10000.0</span> <span class="special">)(</span> <span class="number">1.0</span> <span class="special">)(</span> <span class="number">100.0</span> <span class="special">);</span>
+
+<span class="keyword">double</span> <span class="identifier">eps</span> <span class="special">=</span> <span class="identifier">numeric</span><span class="special">::</span><span class="identifier">bounds</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">smallest</span><span class="special">();</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">-</span> <span class="number">3.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">-</span> <span class="number">2.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign2"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">1000.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">10.0</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">10000.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">1.0</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">100.0</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">factorials</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_data</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special">*=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">i</span><span class="special">)++</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">)</span>
+ <span class="special">)</span><a class="co" name="boost_assign3co" href="option.html#boost_assign3"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">()()()()()</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">factorials</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">6</span><span class="special">,</span> <span class="number">24</span><span class="special">,</span> <span class="number">120</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign3"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">factorials</span><span class="special">(</span> <span class="identifier">k</span> <span class="special">*=</span> <span class="identifier">i</span><span class="special">++</span> <span class="special">)</span></code>
+ for <code class="literal">i = 1, ..., 5</code>
+ </p></td>
+</tr></table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.insert"></a><a class="link" href="option.html#boost_assign.reference.option.insert" title="Insert">Insert</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.insert.header"></a><h6>
+<a name="id36353213"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.insert.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/insert.hpp
+ </p>
+<a name="boost_assign.reference.option.insert.description"></a><h6>
+<a name="id36353290"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.insert.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.insert.semantics"></a><h6>
+<a name="id36353312"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.insert.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_insert</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Not applicable
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">insert</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.insert.example"></a><h6>
+<a name="id36353424"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.insert.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">letters</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_insert</span> <span class="special">)(</span> <span class="string">"d"</span> <span class="special">)(</span> <span class="string">"a"</span> <span class="special">)(</span> <span class="string">"c"</span> <span class="special">)(</span> <span class="string">"b"</span> <span class="special">);<
/span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="string">"a"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="string">"d"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.iterate"></a><a class="link" href="option.html#boost_assign.reference.option.iterate" title="Iterate">Iterate</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.iterate.header"></a><h6>
+<a name="id36353761"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.iterate.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/data.hpp
+ </p>
+<a name="boost_assign.reference.option.iterate.description"></a><h6>
+<a name="id36353837"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.iterate.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.iterate.semantics"></a><h6>
+<a name="id36353860"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.iterate.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_iterate <span class="special">=</span> arg</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">arg<span class="special">()</span></code> increments
+ a counter initalized at zero
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> arg<span class="special">()</span>
+ <span class="special">]</span> <span class="special">=</span>
+ t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.iterate.example"></a><h6>
+<a name="id36353989"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.iterate.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">index</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">1000</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.key"></a><a class="link" href="option.html#boost_assign.reference.option.key" title="Key">Key</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.key.header"></a><h6>
+<a name="id36354415"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.key.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/key.hpp
+ </p>
+<a name="boost_assign.reference.option.key.description"></a><h6>
+<a name="id36354491"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.key.description">Description</a>
+ </h6>
+<p>
+ Data generator option.
+ </p>
+<a name="boost_assign.reference.option.key.semantics"></a><h6>
+<a name="id36354513"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.key.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Data-generation
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_key</code>
+ </p>
+ </td>
+<td>
+ <p>
+ None
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">t <span class="special">=</span> C<span class="special">::</span><span class="identifier">key_type</span><span class="special">(</span>args...<span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.key.example"></a><h6>
+<a name="id36354629"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.key.example">Example</a>
+ </h6>
+<p>
+ See <a class="link" href="option.html#option_mapped">Option.Mapped</a>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.mapped"></a><a class="link" href="option.html#boost_assign.reference.option.mapped" title="Mapped">Mapped</a>
+</h4></div></div></div>
+<a name="option_mapped"></a><a name="boost_assign.reference.option.mapped.header"></a><h6>
+<a name="id36354679"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.mapped.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/mapped.hpp
+ </p>
+<a name="boost_assign.reference.option.mapped.description"></a><h6>
+<a name="id36354755"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.mapped.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.mapped.semantics"></a><h6>
+<a name="id36354778"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.mapped.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_mapped <span class="special">=</span> arg</code>
+ </p>
+ </td>
+<td>
+ <p>
+ None
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">cont</span><span class="special">[</span>
+ t <span class="special">]</span> <span class="special">=</span>
+ arg<span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span> t <span class="special">]</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.mapped.example"></a><h6>
+<a name="id36354920"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.mapped.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">C</span><span class="special">;</span> <span class="identifier">C</span> <span class="identifier">year</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">year</span> <span class="special">)(</span> <span class="string">"feb"</span><span class="special">,</span> <span class="number">28</span> <span class="special">)(</span> <span class="string">"apr"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"jun"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"sep"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"nov"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)</span>
+ <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_key</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_mapped</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">_1</span> <span class="special">=</span> <span class="number">31</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign4co" href="option.html#boost_assign4"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"jan"</span> <span class="special">)(</span> <span class="string">"mar"</span> <span class="special">)(</span> <span class="string">"may"</span> <span class="special">)(</span> <span class="string">"jul"</span> <span class="special">)(</span> <span class="string">"aug"</span> <span class="special">)(</span> <span class="string">"oct"</span> <span class="special">)(</span> <span class="string">"dec"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"dec"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign4"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span>
+ <span class="special">=</span> <span class="number">31</span></code>
+ etc.
+ </p></td>
+</tr></table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.modifier"></a><a class="link" href="option.html#boost_assign.reference.option.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<a name="option_modifier"></a><a name="boost_assign.reference.option.modifier.header"></a><h6>
+<a name="id36355519"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.modifier.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/modifier.hpp
+ </p>
+<a name="boost_assign.reference.option.modifier.description"></a><h6>
+<a name="id36355547"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.modifier.description">Description</a>
+ </h6>
+<p>
+ Option modifier framework
+ </p>
+<a name="boost_assign.reference.option.modifier.synopsis"></a><h6>
+<a name="id36355569"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">Keyword</span> <span class="comment">// A class of modifiers
+</span> <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span> <span class="comment">// Specifies an aspect of the implementation
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">option_modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">option_modifier</span><span class="special">(){}</span>
+ <span class="identifier">option_modifier</span><span class="special">(</span><span class="identifier">Arg</span> <span class="identifier">arg</span><span class="special">);</span>
+
+ <span class="identifier">Arg</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="identifier">option_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="keyword">operator</span><span class="special">=(</span><span class="keyword">const</span> <span class="identifier">Arg1</span><span class="special">&</span> <span class="identifier">arg1</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="comment">// Specialize on Keyword
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">meta_modifier_tag</span>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">D</span> <span class="comment">// Inherits interpreter_crtp<>
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">option_modifier</span><span class="special">{</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span>
+ <span class="special">{};</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">option_modifier</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span>
+ <span class="identifier">interpreter_crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span>
+ <span class="identifier">option_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+
+ <span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_OPTION_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">)</span> <span class="identifier">unspecified</span>
+ <span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_OPTION_MODIFIER_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span> <span class="identifier">unspecified</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.option.modifier.semantics"></a><h6>
+<a name="id36356458"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.modifier.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<p>
+ Specialize, such as to model <a class="link" href="interpreter.html#interpreter_modifier"><code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">ConceptModifier</span></code></a>,
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">interpreter_modifier</span><span class="special"><</span> <span class="identifier">Result</span> <span class="special">>;</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Expression</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_OPTION_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Defines an empty class <code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">keyword_NAME</span><span class="special">;</span></code> and an associated keyword <code class="computeroutput"><span class="identifier">_keyword_NAME</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_OPTION_MODIFIER_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes metafunction class <code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span></code>
+ on <code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">keyword_NAME</span></code>
+ to return <code class="computeroutput"><span class="identifier">Result</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign.reference.option.modifier.examples"></a><h6>
+<a name="id36356790"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.modifier.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example1</strong></span>
+ </p>
+<p>
+ boost/assign/v2/option/iterate.hpp
+ </p>
+<p>
+ <span class="bold"><strong>Example2</strong></span>
+ </p>
+<p>
+ boost/assign/v2/option/mapped.hpp
+ </p>
+<p>
+ <span class="bold"><strong>Example3</strong></span>
+ </p>
+<p>
+ boost/assign/v2/option/repeat.hpp
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.push"></a><a class="link" href="option.html#boost_assign.reference.option.push" title="Push">Push</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.push.header"></a><h6>
+<a name="id36356886"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/push.hpp
+ </p>
+<a name="boost_assign.reference.option.push.description"></a><h6>
+<a name="id36356962"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.push.semantics"></a><h6>
+<a name="id36356984"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_push</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Not applicable
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.push.example"></a><h6>
+<a name="id36357095"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">fifo</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.push_back"></a><a class="link" href="option.html#boost_assign.reference.option.push_back" title="Push_back">Push_back</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.push_back.header"></a><h6>
+<a name="id36357347"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_back.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/push_back.hpp
+ </p>
+<a name="boost_assign.reference.option.push_back.description"></a><h6>
+<a name="id36357423"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_back.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.push_back.semantics"></a><h6>
+<a name="id36357445"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_back.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_back</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Not applicable
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.push_back.example"></a><h6>
+<a name="id36357557"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_back.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_back</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">list</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.push_front"></a><a class="link" href="option.html#boost_assign.reference.option.push_front" title="Push_front">Push_front</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.push_front.header"></a><h6>
+<a name="id36357818"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_front.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/push_front.hpp
+ </p>
+<a name="boost_assign.reference.option.push_front.description"></a><h6>
+<a name="id36357894"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_front.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.push_front.semantics"></a><h6>
+<a name="id36357916"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_front.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_push_front</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Not applicable
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">push_front</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.push_front.example"></a><h6>
+<a name="id36358028"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.push_front.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">powers</span><span class="special">,</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">16</span> <span class="special">)(</span> <span class="number">8</span> <span class="special">)(</span> <span class="number">4</span> <span class="special">)(</span> <span class="number">2</span> <span class="special">)(</span> <span class="number">1</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">16</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.repeat"></a><a class="link" href="option.html#boost_assign.reference.option.repeat" title="Repeat">Repeat</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.repeat.header"></a><h6>
+<a name="id36358334"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.repeat.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/push_front.hpp
+ </p>
+<a name="boost_assign.reference.option.repeat.description"></a><h6>
+<a name="id36358410"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.repeat.description">Description</a>
+ </h6>
+<p>
+ Modifier option.
+ </p>
+<a name="boost_assign.reference.option.repeat.semantics"></a><h6>
+<a name="id36358432"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.repeat.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_repeat <span class="special">=</span> <span class="identifier">n</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">n = 0</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Invokes <code class="literal">n</code> times the modifier that prevailed
+ before passing this option
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.repeat.example"></a><h6>
+<a name="id36358540"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.repeat.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.option.std_modifier"></a><a class="link" href="option.html#boost_assign.reference.option.std_modifier" title="Std_modifier">Std_modifier</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.option.std_modifier.header"></a><h6>
+<a name="id36359165"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.std_modifier.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/option/push.hpp
+ </p>
+<a name="boost_assign.reference.option.std_modifier.description"></a><h6>
+<a name="id36359377"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.std_modifier.description">Description</a>
+ </h6>
+<p>
+ Modifier option
+ </p>
+<a name="boost_assign.reference.option.std_modifier.syntax"></a><h6>
+<a name="id36359399"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.std_modifier.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+ <span class="keyword">struct</span> <span class="identifier">option_std_modifier</span><span class="special">;</span>
+<span class="special">}</span>
+ <span class="identifier">option_std_modifier</span> <span class="keyword">const</span> _std_modifier<span class="special">;</span>
+ <span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_OPTION_STD_MODIFIER</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.option.std_modifier.semantics"></a><h6>
+<a name="id36359504"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.std_modifier.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Option</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Default
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">_std_modifier <span class="special">=</span> arg</code>
+ </p>
+ </td>
+<td>
+ <p>
+ None
+ </p>
+ </td>
+<td>
+ <p>
+ Semantics of <code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Macro</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_OPTION_STD_MODIFIER</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Defines <code class="computeroutput"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span> <span class="keyword">struct</span> <span class="identifier">Name</span><span class="special">{};</span>
+ <span class="special">}</span></code>
+ </li>
+<li class="listitem">
+ Creates a keyword <code class="computeroutput"><span class="identifier">_Name</span></code>,
+ shortcut for <code class="computeroutput">_std_modifier <span class="special">=</span>
+ <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">Name</span></code>
+ </li>
+<li class="listitem">
+ Specializes <code class="computeroutput"><span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">Name</span><span class="special">></span></code> with the following semantics:
+ </li>
+</ul></div>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Option
+ </p>
+ </th>
+<th>
+ <p>
+ Modifier
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">_Name</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">.</span><span class="identifier">Name</span><span class="special">(</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign.reference.option.std_modifier.example"></a><h6>
+<a name="id36359885"></a>
+ <a class="link" href="option.html#boost_assign.reference.option.std_modifier.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_OPTION_STD_MODIFIER</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="deque.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="pipe.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/pipe.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/pipe.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,158 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Pipe</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="option.html" title="Option">
+<link rel="next" href="put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="option.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.pipe"></a><a class="link" href="pipe.html" title="Pipe">Pipe</a>
+</h3></div></div></div>
+<div class="toc"><dl><dt><span class="section">Csv_put</span></dt></dl></div>
+<a name="boost_assign.reference.pipe.header"></a><h5>
+<a name="id36359945"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.header">Header</a>
+ </h5>
+<p>
+ boost/assign/v2/pipe.hpp
+ </p>
+<a name="boost_assign.reference.pipe.description"></a><h5>
+<a name="id36360012"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.description">Description</a>
+ </h5>
+<p>
+ Pipe version of a functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.pipe.csv_put"></a><a class="link" href="pipe.html#boost_assign.reference.pipe.csv_put" title="Csv_put">Csv_put</a>
+</h4></div></div></div>
+<a name="boost_assign.reference.pipe.csv_put.header"></a><h6>
+<a name="id36360047"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.csv_put.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/pipe/csv_put.hpp
+ </p>
+<a name="boost_assign.reference.pipe.csv_put.description"></a><h6>
+<a name="id36360122"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.csv_put.description">Description</a>
+ </h6>
+<p>
+ Pipe & csv form of <a class="link" href="put.html" title="Put"><code class="computeroutput">put</code></a>
+ </p>
+<a name="boost_assign.reference.pipe.csv_put.synopsis"></a><h6>
+<a name="id36360154"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.csv_put.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">array_aux</span><span class="special">::</span><span class="identifier">size_type</span> <span class="identifier">arg_list_size_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OptionList</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">arg_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">OptionList</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">arg_list_generator</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">N</span><span class="special">,</span> <span class="identifier">U</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg_list</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+
+ <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">arg_list_generator</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_csv_put</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.pipe.csv_put.examples"></a><h6>
+<a name="id36360550"></a>
+ <a class="link" href="pipe.html#boost_assign.reference.pipe.csv_put.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <a class="co" name="boost_assign5co" href="pipe.html#boost_assign5"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign5"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="computeroutput"><span class="string">"x"</span></code>, <code class="computeroutput"><span class="string">"y"</span></code> and <code class="computeroutput"><span class="string">"z"</span></code>
+ are kept as <code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">2</span><span class="special">]</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">factorials</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">factorials</span> <span class="special">|</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_data</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special">*=</span> <span class="identifier">_1</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">)</span><a class="co" name="boost_assign6co" href="pipe.html#boost_assign6"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">6</span><span class="special">,</span> <span class="number">24</span><span class="special">,</span> <span class="number">120</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign6"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to calling <code class="computeroutput"><span class="identifier">factorials</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">k</span> <span class="special">*=</span> <span class="special">++</span><span class="identifier">i</span> <span class="special">)</span></code>
+ </p></td>
+</tr></table></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="option.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/put.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/put.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,293 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Put</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="pipe.html" title="Pipe">
+<link rel="next" href="ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="pipe.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.put"></a><a class="link" href="put.html" title="Put">Put</a>
+</h3></div></div></div>
+<a name="boost_assign.reference.put.header"></a><h5>
+<a name="id36361369"></a>
+ <a class="link" href="put.html#boost_assign.reference.put.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/put.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.put.description"></a><h5>
+<a name="id36361414"></a>
+ <a class="link" href="put.html#boost_assign.reference.put.description">Description</a>
+ </h5>
+<p>
+ Interpreter for modifying a container
+ </p>
+<a name="boost_assign.reference.put.synopsis"></a><h5>
+<a name="id36361436"></a>
+ <a class="link" href="put.html#boost_assign.reference.put.synopsis">Synopsis</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">interpreter_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">put_interpreter</span> <span class="special">:</span>
+ <span class="keyword">public</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">interpreter_crtp</span><span class="special"><</span> <span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">put_interpreter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">></span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">result_type</span><span class="special">;</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">put_interpreter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">put_interpreter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">put_interpreter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">replace_data_generator</span><span class="special"><</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">put_interpreter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F1</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">interpreter_aux</span><span class="special">::</span><span class="identifier">put_interpreter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag1</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">interpreter_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{</span><span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">put</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.put.example"></a><h5>
+<a name="id36362354"></a>
+ <a class="link" href="put.html#boost_assign.reference.put.example">Example</a>
+ </h5>
+<a name="ex_put"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">bitset</span><span class="special"><</span><span class="number">3</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <a class="co" name="boost_assign7co" href="put.html#boost_assign7"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">consecutive</span><span class="special">;</span>
+<a class="co" name="boost_assign8co" href="put.html#boost_assign8"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">consecutive</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"001"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"010"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"100"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"101"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"110"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">consecutive</span><span class="special">[</span><span class="identifier">i</span><span class="special">].</span><span class="identifier">to_ulong</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign7"></a> </p></td>
+<td valign="top" align="left"><p>
+ Keep in mind that although <code class="computeroutput"><span class="identifier">data_</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>,
+ for instance, is valid, <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ isn't (GCC4.2)
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign8"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span>
+ <span class="special">);</span></code> for <code class="literal">t = </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span></code><code class="literal">,
+ ..., </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span>
+ <span class="string">"111"</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span>
+ <a class="co" name="boost_assign9co" href="put.html#boost_assign9"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span>
+ <a class="co" name="boost_assign10co" href="put.html#boost_assign10"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign9"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code> for <code class="literal">( i, t ) = ( 0, "+"
+ ), ..., ( 5, "." )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign10"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="number">6</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">]</span> <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="special">*(</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">)</span> <span class="special">)</span></code> for <code class="literal">i = 0, ..., 9</code>
+ and <code class="literal">b =</code> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">numeric</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="identifier">data_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">variable_size_</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">a</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">a</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.71</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.63</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.85</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">b</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span> <span class="identifier">b</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.61</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.92</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.55</span><span class=
"special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">variable_size_</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">ragged</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">ragged</span> <span class="special">)</span>
+ <a class="co" name="boost_assign11co" href="put.html#boost_assign11"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">),</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">)</span> <span class="special">)</span>
+ <a class="co" name="boost_assign12co" href="put.html#boost_assign12"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">b</span> <span class="special">)</span>
+ <a class="co" name="boost_assign13co" href="put.html#boost_assign13"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span>
+ <a class="co" name="boost_assign14co" href="put.html#boost_assign14"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="special">(</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">0</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">3</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign11"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign12"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">b</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign13"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign14"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 4</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="identifier">us_state_</span> <span class="special">[</span><span class="number">3</span><span class="special">];</span> <span class="identifier">us_state_</span> <span class="identifier">ct</span> <span class="special">=</span> <span class="string">"CT"</span><span class="special">,</span> <span class="identifier">nj</span> <span class="special">=</span> <span class="string">"NJ"</span><span class="special">,</span> <span class="identifier">ny</span> <span class="special">=</span> <span class="string">"NY"</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">area_code_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">tuple</span><span class="special"><</span><span class="identifier">us_state_</span><a class="co" name="boost_assign15co" href="put.html#boost_assign15"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">area_code_</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span> <span class="identifier">data_</span> <span class="special">></span> <span class="identifier">tri_state_area</span><span class="special">;</span>
+<a class="co" name="boost_assign16co" href="put.html#boost_assign16"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">tri_state_area</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">212</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">718</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">516</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">914</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">210</span> <span class="special">)(</span> <span class="identifi
er">nj</span><span class="special">,</span> <span class="number">908</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">609</span> <span class="special">)(</span> <span class="identifier">ct</span><span class="special">,</span> <span class="number">203</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">ny</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">203</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign15"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the <span class="bold"><strong>reference</strong></span>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign16"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">tri_state</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">s</span><span class="special">,</span>
+ <span class="identifier">c</span> <span class="special">)</span>
+ <span class="special">)</span></code> for <code class="literal">( s, c ) =( ny,
+ 212 )...( ct, 203 )</code>
+ </p></td>
+</tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="pipe.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/ref.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/ref.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,802 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Ref</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="put.html" title="Put">
+<link rel="next" href="../apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.ref"></a><a class="link" href="ref.html" title="Ref">Ref</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Array</span></dt>
+<dd><dl>
+<dt><span class="section">Array</span></dt>
+<dt><span class="section">Csv_array</span></dt>
+<dt><span class="section">Get</span></dt>
+<dt><span class="section">Interface</span></dt>
+</dl></dd>
+<dt><span class="section">Include</span></dt>
+<dt><span class="section">Wrapper</span></dt>
+<dd><dl>
+<dt><span class="section">Copy</span></dt>
+<dt><span class="section">Crtp</span></dt>
+</dl></dd>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.ref.array"></a><a class="link" href="ref.html#boost_assign.reference.ref.array" title="Array">Array</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Array</span></dt>
+<dt><span class="section">Csv_array</span></dt>
+<dt><span class="section">Get</span></dt>
+<dt><span class="section">Interface</span></dt>
+</dl></div>
+<a name="boost_assign.reference.ref.array.header"></a><h6>
+<a name="id36365460"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/array.hpp
+ </p>
+<a name="boost_assign.reference.ref.array.description"></a><h6>
+<a name="id36365536"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.description">Description</a>
+ </h6>
+<p>
+ Reference array generation
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.array.array"></a><a class="link" href="ref.html#boost_assign.reference.ref.array.array" title="Array">Array</a>
+</h5></div></div></div>
+<a name="ref_array"></a><a name="boost_assign.reference.ref.array.array.header"></a><h6>
+<a name="id36365577"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.array.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/array/array.hpp
+ </p>
+<a name="boost_assign.reference.ref.array.array.description"></a><h6>
+<a name="id36365608"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.array.description">Description</a>
+ </h6>
+<p>
+ Functor form
+ </p>
+<a name="boost_assign.reference.ref.array.array.synopsis"></a><h6>
+<a name="id36365630"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.array.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">nth_result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="identifier">array_size_type</span> <span class="identifier">N</span>
+ <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span> <span class="comment">// U& has to be a reference
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">nth_result_of</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span> <span class="special">=</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">U</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="comment">// Generates an empty array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span> <span class="special">)</span>
+ <span class="special">;</span>
+
+ <span class="comment">// Generates a size one array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+ <span class="comment">// Generates a size one array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The <a class="link" href="ref.html#csv_array">csv-form</a>'s runtime execution is
+ significantly faster.
+ </p></td></tr>
+</table></div>
+<a name="boost_assign.reference.ref.array.array.examples"></a><h6>
+<a name="id36366248"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.array.examples">Examples</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">w</span> <span class="special">=</span> <span class="number">11</span><span class="special">,</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">72</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">31</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="number">3</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar3</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span><span class="special">(</span> <span class="identifier">w</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span> <span class="special">);</span>
+<span class="special">{</span>
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">.</span><span class="identifier">front</span><span class="special">();</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">.</span><span class="identifier">back</span><span class="special">();</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">w</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">b</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">y</span> <span class="special">);</span>
+<span class="special">}</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="number">4</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar4</span> <span class="special">=</span> <span class="identifier">ar3</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">);</span>
+<span class="special">{</span>
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="identifier">ar4</span><span class="special">.</span><span class="identifier">front</span><span class="special">();</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span> <span class="special">=</span> <span class="identifier">ar4</span><span class="special">.</span><span class="identifier">back</span><span class="special">();</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">w</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">b</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">z</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.array.csv_array"></a><a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array" title="Csv_array">Csv_array</a>
+</h5></div></div></div>
+<a name="csv_array"></a><a name="boost_assign.reference.ref.array.csv_array.header"></a><h6>
+<a name="id36366951"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array.header">Header</a>
+ </h6>
+<p>
+ <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span></code>boost/assign/v2/ref/array/csv_array.hpp
<code class="computeroutput"><span class="special">></span></code>
+ </p>
+<a name="boost_assign.reference.ref.array.csv_array.description"></a><h6>
+<a name="id36367058"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array.description">Description</a>
+ </h6>
+<p>
+ Csv form
+ </p>
+<a name="boost_assign.reference.ref.array.csv_array.array"></a><h6>
+<a name="id36367080"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array.array">Array</a>
+ </h6>
+<p>
+ Inherits <a class="link" href="ref.html#array_interface"><code class="computeroutput"><span class="identifier">array_aux</span><span class="special">::</span><span class="identifier">interface</span><span class="special"><></span></code></a>.
+ </p>
+<a name="boost_assign.reference.ref.array.csv_array.generation"></a><h6>
+<a name="id36367129"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array.generation">Generation</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">nth_result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="identifier">array_size_type</span> <span class="identifier">N</span>
+ <span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span> <span class="comment">// U& has to be a reference
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">nth_result_of</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span> <span class="special">=</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">U</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="comment">// Generates an empty array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">nil</span> <span class="special">)</span>
+ <span class="special">;</span>
+
+ <span class="comment">// Generates a size one array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+ <span class="comment">// Generates a size one array
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">array</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.ref.array.csv_array.examples"></a><h6>
+<a name="id36367734"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.csv_array.examples">Examples</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">72</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">31</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">nth_result_of</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special"><</span><span class="number">3</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">ar</span>
+ <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">);</span>
+
+<span class="identifier">T</span><span class="special">&</span> <span class="identifier">front</span> <span class="special">=</span> <span class="identifier">ar</span><span class="special">.</span><span class="identifier">front</span><span class="special">();</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">back</span> <span class="special">=</span> <span class="identifier">ar</span><span class="special">.</span><span class="identifier">back</span><span class="special">();</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">front</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">x</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">back</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">z</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span> <span class="identifier">r</span><span class="special">,</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span>
+<span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">),</span>
+ <span class="identifier">ar</span>
+ <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign17co" href="ref.html#boost_assign17"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign17"></a> </p></td>
+<td valign="top" align="left"><p>
+ Temporaries destroyed past semicolon
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 4</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">).</span><span class="identifier">assign</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.array.get"></a><a class="link" href="ref.html#boost_assign.reference.ref.array.get" title="Get">Get</a>
+</h5></div></div></div>
+<a name="boost_assign.reference.ref.array.get.header"></a><h6>
+<a name="id36369193"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.get.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/array/get.hpp
+ </p>
+<a name="boost_assign.reference.ref.array.get.description"></a><h6>
+<a name="id36369277"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.get.description">Description</a>
+ </h6>
+<p>
+ Transforms a reference array by member function <code class="computeroutput"><span class="identifier">get</span><span class="special">()</span></code>
+ </p>
+<a name="boost_assign.reference.ref.array.get.synopsis"></a><h6>
+<a name="id36369312"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.get.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span>
+ <span class="keyword">typename</span> <span class="identifier">R</span> <span class="comment">// Range of reference-wrappers
+</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">transform_get</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="comment">// Transforms rw by member function get()
+</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform_get</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">transform_get</span><span class="special">(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">rw</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform_get</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">transform_get</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rw</span> <span class="special">);</span>
+
+ <span class="keyword">struct</span> <span class="identifier">get_adaptor</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform_get</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">rw</span><span class="special">,</span> <span class="identifier">get_adaptor</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform_get</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rw</span><span class="special">,</span> <span class="identifier">get_adaptor</span><span class="special">);</span>
+
+
+ <span class="identifier">get_adaptor</span> <span class="keyword">const</span> <span class="identifier">_get</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.ref.array.get.examples"></a><h6>
+<a name="id36369862"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.get.examples">Examples</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">as2</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">copy_wrapper</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">w_</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">w_</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ref_array</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span><span class="special">;</span>
+
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="identifier">w_</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">),</span> <span class="identifier">w_</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">),</span> <span class="identifier">w_</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">),</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">ref_array</span> <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">314</span><span class="special">,</span> <span class="number">3141</span><span class="special">,</span> <span class="number">31415</span> <span class="special">),</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">ref_array</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">==</span> <span class="number">314</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">y</span> <span class="special">==</span> <span class="number">3141</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="number">31415</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.array.interface"></a><a class="link" href="ref.html#boost_assign.reference.ref.array.interface" title="Interface">Interface</a>
+</h5></div></div></div>
+<a name="array_interface"></a><a name="boost_assign.reference.ref.array.interface.header"></a><h6>
+<a name="id36370453"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.interface.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/array/interface.hpp
+ </p>
+<a name="boost_assign.reference.ref.array.interface.description"></a><h6>
+<a name="id36370537"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.interface.description">Description</a>
+ </h6>
+<p>
+ Interface for a reference array
+ </p>
+<a name="boost_assign.reference.ref.array.interface.synopsis"></a><h6>
+<a name="id36370559"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.interface.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Impl</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">interface</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecifiedparam_type</span><span class="special">;</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">wrapper_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">inner_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">difference_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">reference</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_reference</span><span class="special">;</span>
+
+ <span class="identifier">size_type</span> <span class="identifier">static_size</span><span class="special">;</span>
+
+ <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">size</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">rebind</span><span class="special">(</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">result_of_get_</span> <span class="identifier">t</span><span class="special">);</span>
+ <span class="identifier">reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">);</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">i</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">assign</span><span class="special">(</span><span class="identifier">param_type</span> <span class="identifier">val</span><span class="special">);</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.ref.array.interface.examples"></a><h6>
+<a name="id36371230"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.array.interface.examples">Examples</a>
+ </h6>
+<p>
+ None
+ </p>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.ref.include"></a><a class="link" href="ref.html#boost_assign.reference.ref.include" title="Include">Include</a>
+</h4></div></div></div>
+<a name="ref_include"></a><a name="boost_assign.reference.ref.include.header"></a><h6>
+<a name="id36371272"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.include.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/include.hpp
+ </p>
+<a name="boost_assign.reference.ref.include.description"></a><h6>
+<a name="id36371348"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.include.description">Description</a>
+ </h6>
+<p>
+ Header lookup by identifier
+ </p>
+<a name="boost_assign.reference.ref.include.synopsis"></a><h6>
+<a name="id36371370"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.include.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Identifier
+ </p>
+ </th>
+<th>
+ <p>
+ Usage
+ </p>
+ </th>
+<th>
+ <p>
+ Module
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::array</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">ref::array<span class="special">(</span> arg<span class="number">1</span> <span class="special">)</span> ...
+ <span class="special">(</span> argn <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref.html#ref_array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">ref::csv_array<span class="special">(</span> args...
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref.html#ref_array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">ref::_get</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">rw <span class="special">|</span> ref::_get</code>
+ </p>
+ </td>
+<td>
+ <p>
+ <a class="link" href="ref.html#ref_array">Ref.Array</a>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign.reference.ref.wrapper"></a><a class="link" href="ref.html#boost_assign.reference.ref.wrapper" title="Wrapper">Wrapper</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Copy</span></dt>
+<dt><span class="section">Crtp</span></dt>
+</dl></div>
+<a name="boost_assign.reference.ref.wrapper.header"></a><h6>
+<a name="id36371607"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/wrapper.hpp
+ </p>
+<a name="boost_assign.reference.ref.wrapper.description"></a><h6>
+<a name="id36371683"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.description">Description</a>
+ </h6>
+<p>
+ Default constructible reference wrapper module
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.wrapper.copy"></a><a class="link" href="ref.html#boost_assign.reference.ref.wrapper.copy" title="Copy">Copy</a>
+</h5></div></div></div>
+<a name="boost_assign.reference.ref.wrapper.copy.header"></a><h6>
+<a name="id36371720"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.copy.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/wrapper/copy.hpp
+ </p>
+<a name="boost_assign.reference.ref.wrapper.copy.description"></a><h6>
+<a name="id36371804"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.copy.description">Description</a>
+ </h6>
+<p>
+ Reference wrapper with copy semantics
+ </p>
+<a name="boost_assign.reference.ref.wrapper.copy.synopsis"></a><h6>
+<a name="id36371826"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.copy.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">assign_tag</span><span class="special">{</span> <span class="keyword">struct</span> <span class="identifier">copy</span><span class="special">{};</span> <span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">assign_copy</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span> <span class="identifier">assign_tag_</span><span class="special">;</span> <span class="special">}</span>
+
+ <span class="keyword">template</span><span class="special"><</span> <span class="keyword">class</span> <span class="identifier">T</span> <span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="special">:</span>
+ <span class="keyword">public</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper_crtp</span><span class="special"><</span> <span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">type</span><span class="special">;</span>
+
+
+
+ <span class="identifier">BOOST_ASSIGN_V2_IGNORE</span><span class="special">(</span><span class="keyword">static</span> <span class="keyword">bool</span> <span class="identifier">is_const</span><span class="special">;)</span>
+
+ <span class="identifier">wrapper</span><span class="special">();</span>
+
+ <span class="comment">// Initialization equivalent to rebind( r )
+</span> <span class="keyword">explicit</span> <span class="identifier">wrapper</span><span class="special">(</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">r</span> <span class="special">);</span>
+
+ <span class="keyword">void</span> <span class="identifier">rebind</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">r</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">result_of_get_type</span><span class="special">;</span>
+ <span class="identifier">T</span><span class="special">&</span> <span class="identifier">get</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+
+ <span class="identifier">T</span><span class="special">*</span> <span class="identifier">get_pointer</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">using</span> <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">wrapper</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="keyword">operator</span><span class="special">=;</span>
+
+ <span class="comment">// Copy semantics i.e. *ptr = r
+</span> <span class="keyword">void</span> <span class="identifier">assign</span><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">r</span> <span class="special">);</span>
+
+ <span class="keyword">protected</span><span class="special">:</span>
+ <span class="special">;</span>
+ <span class="identifier">T</span><span class="special">*</span> <span class="identifier">ptr</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span> <span class="identifier">wrapper</span><span class="special">&</span> <span class="identifier">r</span> <span class="special">);</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">copy_wrapper</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper</span><span class="special"><</span><span class="identifier">assign_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">,</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.ref.wrapper.copy.examples"></a><h6>
+<a name="id36372605"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.copy.examples">Examples</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">val_</span> <span class="keyword">const</span> <span class="identifier">cval_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">wrapper_param</span><span class="special"><</span><span class="identifier">val_</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">param_</span><span class="special">;</span>
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">param_</span><span class="special">,</span> <span class="identifier">cval_</span><span class="special">></span> <span class="special">));</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">copy_wrapper</span><span class="special"><</span><span class="identifier">param_</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">w_</span><span class="special">;</span>
+<span class="special">{</span>
+ <span class="identifier">val_</span><span class="special">&&</span> <span class="identifier">a</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+ <span class="identifier">w_</span> <span class="identifier">w</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="special">&</span><span class="identifier">w</span><span class="special">.</span><span class="identifier">get</span><span class="special">()</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">a</span> <span class="special">);</span>
+<span class="special">}</span>
+<span class="special">{</span>
+ <span class="identifier">cval_</span> <span class="identifier">a</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+ <span class="identifier">w_</span> <span class="identifier">w</span> <span class="special">=</span> <span class="identifier">w_</span><span class="special">(</span> <span class="number">1</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">w</span><span class="special">.</span><span class="identifier">get</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign.reference.ref.wrapper.crtp"></a><a class="link" href="ref.html#boost_assign.reference.ref.wrapper.crtp" title="Crtp">Crtp</a>
+</h5></div></div></div>
+<a name="boost_assign.reference.ref.wrapper.crtp.header"></a><h6>
+<a name="id36373060"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.crtp.header">Header</a>
+ </h6>
+<p>
+ boost/assign/v2/ref/wrapper/crtp.hpp
+ </p>
+<a name="boost_assign.reference.ref.wrapper.crtp.description"></a><h6>
+<a name="id36373144"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.crtp.description">Description</a>
+ </h6>
+<p>
+ CRTP reference wrapper.
+ </p>
+<a name="boost_assign.reference.ref.wrapper.crtp.synopsis"></a><h6>
+<a name="id36373167"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">ref</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">wrapper_crtp</span> <span class="special">:</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">less_than_comparable1</span><span class="special"><</span>
+ <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">less_than_comparable2</span><span class="special"><</span>
+ <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>,</span>
+ <span class="identifier">T</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">equality_comparable1</span><span class="special"><</span>
+ <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">equality_comparable2</span><span class="special"><</span>
+ <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>,</span>
+ <span class="identifier">T</span>
+ <span class="special">></span>
+ <span class="special">></span>
+ <span class="special">></span>
+ <span class="special">></span>
+ <span class="special">{</span>
+
+ <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">remove_const</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">non_const</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">add_const</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">const_</span><span class="special">;</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">D</span><span class="special">&</span> <span class="identifier">derived</span><span class="special">();</span>
+ <span class="identifier">D</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">derived</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">void</span> <span class="keyword">operator</span><span class="special">=(</span><span class="identifier">non_const</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">void</span> <span class="keyword">operator</span><span class="special">=(</span><span class="identifier">const_</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span> <span class="identifier">wrapper_crtp</span><span class="special">&</span> <span class="identifier">that</span> <span class="special">);</span>
+ <span class="keyword">operator</span> <span class="identifier">T</span><span class="special">&()</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="keyword">operator</span><span class="special">==(</span> <span class="keyword">const</span> <span class="identifier">wrapper_crtp</span><span class="special">&</span> <span class="identifier">that</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="keyword">operator</span><span class="special"><(</span> <span class="keyword">const</span> <span class="identifier">wrapper_crtp</span><span class="special">&</span> <span class="identifier">that</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="keyword">operator</span><span class="special">==(</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">t</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="keyword">operator</span><span class="special"><(</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">t</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="keyword">operator</span><span class="special">>(</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">t</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Traits</span><span class="special">></span>
+ <span class="keyword">friend</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span><span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">>&</span>
+ <span class="keyword">operator</span><span class="special"><<(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span><span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">>&</span> <span class="identifier">os</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">wrapper_crtp</span><span class="special">&</span> <span class="identifier">w</span><span class="special">);</span>
+
+ <span class="special">};</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">void</span> <span class="identifier">rebind</span><span class="special">(</span> <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span> <span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">inline</span> <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span> <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">l</span><span class="special">,</span> <span class="identifier">wrapper_crtp</span><span class="special"><</span><span class="identifier">D</span><span class="special">,</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">r</span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">ref</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.reference.ref.wrapper.crtp.examples"></a><h6>
+<a name="id36374495"></a>
+ <a class="link" href="ref.html#boost_assign.reference.ref.wrapper.crtp.examples">Examples</a>
+ </h6>
+<p>
+ None
+ </p>
+</div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="put.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/utility.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/utility.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,920 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Utility</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="ref.html" title="Ref">
+<link rel="next" href="put.html" title="Put">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.utility"></a><a class="link" href="utility.html" title="Utility">Utility</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Chain</span></dt>
+<dt><span class="section">Conversion</span></dt>
+<dd><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></dd>
+<dt><span class="section">Csv</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.utility.chain"></a><a class="link" href="utility.html#boost_assign_v2.reference.utility.chain" title="Chain">Chain</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.utility.chain.header"></a><h6>
+<a name="id36349156"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.chain.description"></a><h6>
+<a name="id36349203"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.description">Description</a>
+ </h6>
+<p>
+ A variant of join
+ that caters to <a class="link" href="ref.html#boost_assign_v2.reference.ref.array" title="Array">reference
+ arrays</a>
+ </p>
+<a name="boost_assign_v2.reference.utility.chain.syntax"></a><h6>
+<a name="id36349237"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">chain_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">use_const</span><span class="special">;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">adaptor2</span>
+ <span class="special">{</span>
+
+ <span class="identifier">adaptor2</span><span class="special">();</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">result</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">chain_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">chain</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+ <span class="keyword">const</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor2</span> <span class="identifier">_chain</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.chain.meta"></a><h6>
+<a name="id36350070"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.meta">Meta</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Requirements</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Parameter
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R1</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">U1</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">T</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">remove_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">U2</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">not</code> <code class="computeroutput"><span class="identifier">is_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">!</span><span class="identifier">is_const</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">(</span><span class="identifier">U2</span>
+ <span class="special">==</span> <span class="identifier">U1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">is_const</span><span class="special"><</span>
+ <span class="identifier">range_value</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span> <span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Comment</strong></span>
+ </p>
+<p>
+ This meta-function becomes relevant if either of <code class="computeroutput"><span class="identifier">r1</span></code>
+ or <code class="computeroutput"><span class="identifier">r2</span></code> is a <a class="link" href="ref.html#boost_assign_v2.reference.ref.array" title="Array">reference
+ array</a>: altghouh these are usually constructed in place (rvalues),
+ the references therein may bind to lvalues. <code class="computeroutput"><span class="identifier">use_const</span></code>
+ knows not to throw away lvalue-ness, in that case, i.e. it returns false.
+ </p>
+<a name="boost_assign_v2.reference.utility.chain.range"></a><h6>
+<a name="id36350857"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.range">Range</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">chained</span></code></span></dt>
+<dd><p>
+ result of <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span>
+ _chain<span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special">+</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">chained</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special"><</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">?</span>
+ <span class="identifier">i</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r1</span> <span class="special">)</span>
+ <span class="special">:</span> <span class="identifier">i</span>
+ <span class="special">-</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r2</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.utility.chain.alternative_invocation"></a><h6>
+<a name="id36351183"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.alternative_invocation">Alternative
+ invocation</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Header</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain/operator_and.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ This header is optional (because it overloads <code class="computeroutput"><span class="identifier">opearator</span><span class="special">&&</span></code>, which some may prefer not to)
+ i.e. is it not included in boost/assign/v2/utility/chain.hpp.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">r1</span> <span class="special">&&</span>
+ <span class="identifier">r2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.utility.chain.example"></a><h6>
+<a name="id36351362"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.chain.example">Example</a>
+ </h6>
+<a name="ex_utility_chain"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"A"</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"B"</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">tail</span><span class="special">;</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"C"</span> <span class="special">);</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"D"</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">joined</span><span class="special">;</span> <span class="identifier">copy</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">),</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_inserter</span><span class="special">(</span> <span class="identifier">joined</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">joined</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"A"</span><span class="special">,</span> <span class="string">"B"</span><span class="special">,</span> <span class="string">"C"</span><span class="special">,</span> <span class="string">"D"</span><span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">word</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">words</span><span class="special">(</span> <span class="number">6</span> <span class="special">);</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"foo"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"bar"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="string">"baz"</span><span class="special">;</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="string">"qux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">=</span> <span class="string">"quux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">5</span><span class="special">]</span> <span class="special">=</span> <span class="string">"grault"</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">word</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">tail</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span>
+<span class="identifier">copy</span><span class="special">(</span> <span class="identifier">words</span><span class="special">,</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">head</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">word</span><span class="special">>(</span> <span class="string">"foo"</span><span class="special">,</span> <span class="string">"bar"</span><span class="special">,</span> <span class="string">"baz"</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">tail</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">word</span><span class="special">>(</span> <span class="string">"qux"</span><span class="special">,</span> <span class="string">"quux"</span><span class="special">,</span> <span class="string">"grault"</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><a class="co" name="boost_assign_v215co" href="utility.html#boost_assign_v215"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span class="identifier">i</span><spa
n class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">consecutive5</span> <span class="special">&&</span> <span class="special">(</span><a class="co" name="boost_assign_v216co" href="utility.html#boost_assign_v216"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span
class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span> <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">seven</span> <span class="special">==</span> <span class="number">7</span> <span class="special">);</span> <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v215"></a> </p></td>
+<td valign="top" align="left"><p>
+ Needed to bring && into scope
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v216"></a> </p></td>
+<td valign="top" align="left"><p>
+ rvalue!
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.utility.conversion"></a><a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion" title="Conversion">Conversion</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.utility.conversion.convert"></a><a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert" title="Convert">Convert</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.utility.conversion.convert.header"></a><h6>
+<a name="id36353223"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/conversion/convert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.conversion.convert.description"></a><h6>
+<a name="id36353270"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert.description">Description</a>
+ </h6>
+<p>
+ Function converting a range to a container
+ </p>
+<a name="boost_assign_v2.reference.utility.conversion.convert.syntax"></a><h6>
+<a name="id36353293"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_tag</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{};</span>
+ <span class="keyword">struct</span> <span class="identifier">copy</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">convert_tag</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="identifier">convert</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert_adapter</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="keyword">operator</span><span class="special">|(</span> <span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v217co" href="utility.html#boost_assign_v217"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v218co" href="utility.html#boost_assign_v218"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+<span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="identifier">convert</span><span class="special">();</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v217"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v218"></a> </p></td>
+<td valign="top" align="left"><p>
+ Range
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.reference.utility.conversion.convert.semantics"></a><h6>
+<a name="id36353783"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span>convert<span class="special"><</span>C<span class="special">>(</span> r<span class="special">,</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span><span class="special">()</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont<span class="special">;</span> <span class="identifier">put</span><span class="special">(</span> cont <span class="special">)(</span>
+ as_arg_list<span class="special">(</span> r <span class="special">)</span>
+ <span class="special">)</span></code> and returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span>convert<span class="special"><</span>C<span class="special">>(</span> r<span class="special">,</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">()</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C<span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span>convert<span class="special"><</span>C<span class="special">>(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span>convert<span class="special"><</span>C<span class="special">>(</span> r <span class="special">,</span>
+ <span class="identifier">tag</span> <span class="special">)</span></code>,
+ where <code class="computeroutput"><span class="identifier">tag</span> <span class="special">=</span> <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span></code>
+ if <code class="computeroutput">C</code> is either an array
+ or an adapter,
+ <code class="computeroutput"><span class="identifier">tag</span> <span class="special">=</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span></code> otherwise.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span>convert<span class="special"><</span>C<span class="special">>(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.reference.utility.conversion.convert.example"></a><h6>
+<a name="id36354299"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.convert.example">Example</a>
+ </h6>
+<a name="ex_utility_conversion_convert"></a><p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">ar_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">ar</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">convert</span><span class="special"><</span><span class="identifier">ar_</span><span class="special">>()</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.utility.conversion.converter"></a><a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter" title="Converter">Converter</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.utility.conversion.converter.header"></a><h6>
+<a name="id36354739"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/conversion/converter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.conversion.converter.description"></a><h6>
+<a name="id36354786"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter.description">Description</a>
+ </h6>
+<p>
+ Wraps a range with container-convertibility
+ </p>
+<a name="boost_assign_v2.reference.utility.conversion.converter.syntax"></a><h6>
+<a name="id36354808"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">conversion_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">converter</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">explicit</span> <span class="identifier">converter</span><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">r</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">operator</span> <span class="identifier">C</span> <span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="identifier">type</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">converter</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">converter</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.conversion.converter.semantics"></a><h6>
+<a name="id36355215"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">c</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput">converter<span class="special">(</span> r
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Converter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Calls <code class="computeroutput">r <span class="special">|</span> convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> <span class="identifier">c</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">C cont <span class="special">=</span>
+ <span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.reference.utility.conversion.converter.example"></a><h6>
+<a name="id36355455"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.conversion.converter.example">Example</a>
+ </h6>
+<a name="ex_utility_conversion_converter"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">sz</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">row_</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">row_</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">matrix3x3</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">7</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">9</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">9</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">matrix3x3</span><span class="special">[</span> <span class="identifier">i</span> <span class="special">/</span> <span class="number">3</span> <span class="special">][</span> <span class="identifier">i</span> <span class="special">%</span> <span class="number">3</span> <span class="special">]</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">+</span> <span class="number">1</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.utility.csv"></a><a class="link" href="utility.html#boost_assign_v2.reference.utility.csv" title="Csv">Csv</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.utility.csv.header"></a><h6>
+<a name="id36356100"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.csv.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/csv.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.csv.description"></a><h6>
+<a name="id36356146"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.csv.description">Description</a>
+ </h6>
+<p>
+ A function whose invocation over a sequence of values is equivalent to
+ unary functor invocations over that sequence.
+ </p>
+<a name="boost_assign_v2.reference.utility.csv.syntax"></a><h6>
+<a name="id36356169"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.csv.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">V</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">nth_result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv</span><span class="special"><</span><span class="identifier">F</span> <span class="keyword">const</span><span class="special">&,</span>
+ <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector0</span><span class="special"><></span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">functor</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv</span><span class="special"><</span><span class="identifier">F</span> <span class="keyword">const</span><span class="special">&,</span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">detail</span><span class="special">::</span><span class="identifier">variadic_vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">Args</span><span class="special">...>::</span><span class="identifier">type</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">functor</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span><span class="special">&&...</span> <span class="identifier">args</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.utility.csv.semantics"></a><h6>
+<a name="id36356650"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.csv.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv</span><span class="special">(</span>
+ <span class="identifier">functor</span><span class="special">,</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"> <span class="identifier">functor</span><span class="special">(</span>
+ t<span class="number">1</span> <span class="special">)</span>
+ <span class="special">...</span> <span class="special">(</span>
+ tn <span class="special">)</span> </code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.utility.csv.example"></a><h6>
+<a name="id36356864"></a>
+ <a class="link" href="utility.html#boost_assign_v2.reference.utility.csv.example">Example</a>
+ </h6>
+<a name="ex_utility_csv"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">),</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">48</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">72</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="put.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/value.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/reference/value.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,3581 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Value</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../reference.html" title="Reference">
+<link rel="prev" href="../reference.html" title="Reference">
+<link rel="next" href="ref.html" title="Ref">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.reference.value"></a><a class="link" href="value.html" title="Value">Value</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Adapter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Fun</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></dd>
+<dt><span class="section">Modifier</span></dt>
+<dd><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dt><span class="section">Put</span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.value.header"></a><h5>
+<a name="id36338038"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.description"></a><h5>
+<a name="id36338077"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.description">Description</a>
+ </h5>
+<p>
+ A framework for inserting elements into or generating value-containers.
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.adapter"></a><a class="link" href="value.html#boost_assign_v2.reference.value.adapter" title="Adapter">Adapter</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.value.adapter.header"></a><h6>
+<a name="id36338105"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.description"></a><h6>
+<a name="id36338146"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.description">Description</a>
+ </h6>
+<p>
+ Translates a container's interface to that of a functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.adapter.as_arg_list"></a><a class="link" href="value.html#boost_assign_v2.reference.value.adapter.as_arg_list" title="As_arg_list">As_arg_list</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.adapter.as_arg_list.header"></a><h6>
+<a name="id36338179"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.as_arg_list.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/as_arg_list.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.as_arg_list.description"></a><h6>
+<a name="id36338221"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.as_arg_list.description">Description</a>
+ </h6>
+<p>
+ Wraps around a range to indicate that its elements have to be processed
+ as individual arguments
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.as_arg_list.synopsis"></a><h6>
+<a name="id36338242"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.as_arg_list.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">as_arg_list</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">as_arg_list</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.adapter.crtp"></a><a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp">Crtp</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.adapter.crtp.header"></a><h6>
+<a name="id36338537"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/crtp.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.crtp.description"></a><h6>
+<a name="id36338579"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp.description">Description</a>
+ </h6>
+<p>
+ A CRTP
+ <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> that translates a container interface to a functor.
+ The container is supplied by the derived class. The template parameters
+ control argument forwarding and insertion mechanisms.
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.crtp.synopsis"></a><h6>
+<a name="id36338612"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter1</span><span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter1</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">ref</span> <span class="special">=</span> <span class="identifier">derived</span><span class="special">.</span><span class="identifier">container</span><span class="special">();</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">ConceptAdapter2</span> <span class="special">:</span> <span class="identifier">ConceptAdapter1</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">D</span><span class="special">>{</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="identifier">modifier_</span><span class="special">;</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">ConceptAdapter2</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">D</span> <span class="identifier">derived</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">m</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span><span class="identifier">f</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">modifier_</span> <span class="identifier">m</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v20co" href="value.html#boost_assign_v20"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v21co" href="value.html#boost_assign_v21"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v22co" href="value.html#boost_assign_v22"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v23co" href="value.html#boost_assign_v23"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></
a><span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_crtp</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span>
+ <span class="identifier">modifier_type</span><span class="special">;</span>
+
+ <span class="identifier">adapter_crtp</span><span class="special">(){}</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">adapter_crtp</span><span class="special">(</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_type</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">D</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">result_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">result_type</span>
+ <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">as_arg_list_adapter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="identifier">range</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()(</span> <span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span> <span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v20"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v21"></a> </p></td>
+<td valign="top" align="left"><p>
+ Functor
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v22"></a> </p></td>
+<td valign="top" align="left"><p>
+ Modifier tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v23"></a> </p></td>
+<td valign="top" align="left"><p>
+ Derived type
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.adapter.crtp.semantics"></a><h6>
+<a name="id36339597"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">cont</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">C</span></code>,
+ supplied by the derived class
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">F</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">adapter-modifier</code></span></dt>
+<dd><p>
+ Internal copy of instance of type <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">adapter</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">D</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Side effect
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">adapter-modifier<span class="special">.</span><span class="identifier">impl</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">f</span><span class="special">(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">adapter</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter<span class="special">(</span> <span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">range</span>
+ <span class="special">)</span> <span class="special">)</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">adapter<span class="special">(</span> <span class="identifier">arg</span>
+ <span class="special">)</span></code> for each <code class="computeroutput"><span class="identifier">arg</span></code> in <code class="computeroutput"><span class="identifier">range</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A reference to <code class="computeroutput">adapter</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.adapter.modifier"></a><a class="link" href="value.html#boost_assign_v2.reference.value.adapter.modifier" title="Modifier">Modifier</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.adapter.modifier.header"></a><h6>
+<a name="id36340015"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/adapter/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.modifier.description"></a><h6>
+<a name="id36340057"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.modifier.description">Description</a>
+ </h6>
+<p>
+ A <a href="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fclass_templates.htm" target="_top">class
+ template</a> with no default implementation, but whose specializations
+ are required to expose a particular interface for modifying a container.
+ </p>
+<a name="boost_assign_v2.reference.value.adapter.modifier.synopsis"></a><h6>
+<a name="id36340084"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.modifier.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <a class="co" name="boost_assign_v24co" href="value.html#boost_assign_v24"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">modifier_tag</span><span class="special">{}</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v25co" href="value.html#boost_assign_v25"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">adapter_modifier</span><span class="special">{};</span>
+
+<span class="special">}</span>
+<span class="keyword">namespace</span> <span class="identifier">put_concept</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <a class="co" name="boost_assign_v26co" href="value.html#boost_assign_v26"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <a class="co" name="boost_assign_v27co" href="value.html#boost_assign_v27"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">Modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">BOOST_CONCEPT_USAGE</span><span class="special">(</span><span class="identifier">Modifier</span><span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">m</span><span class="special">.</span><span class="identifier">impl</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">t</span> <span class="special">);</span>
+ <span class="special">}</span>
+
+ <span class="keyword">private</span><span class="special">:</span>
+ <span class="keyword">static</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">>&</span> <span class="identifier">m</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">;</span>
+ <span class="keyword">static</span> <span class="identifier">T</span> <span class="identifier">t</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v24"></a> </p></td>
+<td valign="top" align="left"><p>
+ Template arguments to <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><></span></code> have to be declared within
+ this <code class="computeroutput"><span class="keyword">namespace</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v25"></a> </p></td>
+<td valign="top" align="left"><p>
+ Specialize on Tag
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v26"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v27"></a> </p></td>
+<td valign="top" align="left"><p>
+ Input
+ </p></td>
+</tr>
+</table></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.deque"></a><a class="link" href="value.html#boost_assign_v2.reference.value.deque" title="Deque">Deque</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.value.deque.header"></a><h6>
+<a name="id36340524"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.deque.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span><span class="special"><</span>boost/assign/v2/value/deque.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.deque.describe"></a><h6>
+<a name="id36340562"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.deque.describe">Describe</a>
+ </h6>
+<p>
+ In place construction of a de-que container that has the <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp">adapter
+ interface</a>.
+ </p>
+<a name="boost_assign_v2.reference.value.deque.synopsis"></a><h6>
+<a name="id36340585"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.deque.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v28co" href="value.html#boost_assign_v28"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deque_impl</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">deque_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">value_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">size_type</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">iterator</span><span class="special">;</span>
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">const_iterator</span><span class="special">;</span>
+
+ <span class="comment">// Construct
+</span> <span class="identifier">deque_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">deque_adapter</span><span class="special">(</span> <span class="identifier">impl_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="comment">// Deque interface
+</span> <span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">();</span>
+ <span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">();</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="identifier">unspecified</span> <span class="special">;</span>
+ <span class="identifier">size_type</span> <span class="identifier">max_size</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <span class="identifier">empty</span><span class="special">()</span><span class="keyword">const</span><span class="special">;;</span>
+ <span class="identifier">const_reference</span> <span class="keyword">operator</span><span class="special">[](</span><span class="identifier">size_type</span> <span class="identifier">n</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">front</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">front</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">reference</span> <span class="identifier">back</span><span class="special">();</span>
+ <span class="identifier">const_reference</span> <span class="identifier">back</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">void</span> <span class="identifier">pop_front</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">pop_back</span><span class="special">();</span>
+ <span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">deque_adapter</span><span class="special">&</span> <span class="identifier">that</span><span class="special">);</span>
+
+ <span class="identifier">impl_</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v29co" href="value.html#boost_assign_v29"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v210co" href="value.html#boost_assign_v210"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_adapter</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v211co" href="value.html#boost_assign_v211"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span><span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">deque</span><span class="special">(</span><span class="identifier">Args</span><span class="special">&&...</span><span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v28"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v29"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v210"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v211"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Alernative syntax</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque_value</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">csv_deque</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">csv_deque</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">,</span> <span class="identifier">Args</span> <span class="keyword">const</span><span class="special">&</span> <span class="special">...</span> <span class="identifier">args</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.deque.semantics"></a><h6>
+<a name="id36342135"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.deque.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>T<span class="special">,</span> f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>T<span class="special">,</span>
+ f<span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">deque_adapter</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deque_adapter</span><span class="special"><</span>
+ T<span class="special">,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deduce_fun</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">deduce_modifier_tag</span><span class="special"><</span> <span class="identifier">deque_impl</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span> <span class="special">>::</span><span class="identifier">type</span>
+<span class="special">></span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">remove_cv</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span>
+ <span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span>
+<span class="special">>::</span><span class="identifier">type</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">decay</span><span class="special"><></span></code>
+ is needed if <code class="computeroutput">T</code> is a string literal
+ </p></td></tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ _nil <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span>deque<span class="special"><</span>T<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span>T<span class="special">>(</span> _nil <span class="special">)(</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">csv_deque<span class="special">(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">deque<span class="special"><</span><span class="identifier">csv_deque_value</span><span class="special"><</span>T<span class="special">>::</span><span class="identifier">type</span><span class="special">>(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.reference.value.deque.example"></a><h6>
+<a name="id36343112"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.deque.example">Example</a>
+ </h6>
+<a name="ex_put_deque"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C1</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C2</span><span class="special">;</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C1</span><span class="special">,</span> <span class="identifier">C2</span><span class="special">></span> <span class="special">));</span>
+
+<span class="identifier">C1</span> <span class="identifier">empty_cont</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">);</span>
+<span class="identifier">C1</span> <span class="identifier">cont1</span> <span class="special">=</span> <span class="identifier">empty_cont</span><span class="special">(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">C1</span> <span class="identifier">cont2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">C1</span> <span class="identifier">cont3</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">C1</span> <span class="identifier">cont4</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont2</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont3</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">cont4</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>::</span><span class="identifier">type</span> <span class="identifier">C1</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">[</span><span class="number">2</span><span class="special">]>::</span><span class="identifier">type</span> <span class="identifier">C2</span><span class="special">;</span>
+
+<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span> <span class="identifier">is_same</span><span class="special"><</span><span class="identifier">C1</span><span class="special">,</span> <span class="identifier">C2</span><span class="special">></span> <span class="special">));</span>
+
+<span class="identifier">C1</span> <span class="identifier">deque1</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">char</span><span class="special">*>(</span> <span class="string">"x"</span> <span class="special">)(</span> <span class="string">"y"</span> <span class="special">)(</span> <span class="string">"z"</span> <span class="special">);</span>
+<span class="identifier">C2</span> <span class="identifier">deque2</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"x"</span> <span class="special">);</span> <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"y"</span> <span class="special">);</span> <span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"z"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">deque2</span> <span class="special">)</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="identifier">str_</span><span class="special">></span> <span class="identifier">T</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">C</span><span class="special">;</span>
+<span class="identifier">C</span> <span class="identifier">airports</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"Heathrow"</span><span class="special">)(</span> <span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span> <span class="special">);</span>
+
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">benchmark</span><span class="special">;</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"AUH"</span><span class="special">,</span> <span class="string">"Abu Dhabi"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"JFK"</span><span class="special">,</span> <span class="string">"New York"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"LHR"</span><span class="special">,</span> <span class="string">"Heathrow"</span><span class="special">)</span> <span class="special">);</span>
+<span class="identifier">benchmark</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">T</span><span class="special">(</span><span class="string">"PEK"</span><span class="special">,</span> <span class="string">"Beijing"</span><span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">benchmark</span><span class="special">,</span> <span class="identifier">airports</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ As the <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp">adapter
+ interface</a> underlying the above is common with that of <a class="link" href="value.html#boost_assign_v2.reference.value.put" title="Put"><code class="computeroutput">put</code></a>,
+ looking at the latter's examples is also recommended.
+ </p></td></tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.fun"></a><a class="link" href="value.html#boost_assign_v2.reference.value.fun" title="Fun">Fun</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Modulo</span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.value.fun.header"></a><h6>
+<a name="id36345079"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/fun.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.fun.description"></a><h6>
+<a name="id36345124"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.description">Description</a>
+ </h6>
+<p>
+ Aspects of an adapter's functor
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.fun.deduce"></a><a class="link" href="value.html#boost_assign_v2.reference.value.fun.deduce" title="Deduce">Deduce</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.fun.deduce.description"></a><h6>
+<a name="id36345159"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that maps a container's type to a functor
+ </p>
+<a name="boost_assign_v2.reference.value.fun.deduce.synopsis"></a><h6>
+<a name="id36345182"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.deduce.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">container_value</span><span class="special">{</span> <span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">type</span><span class="special">;</span> <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v212co" href="value.html#boost_assign_v212"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">PtrC</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v213co" href="value.html#boost_assign_v213"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">deduce_fun_pointer</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v214co" href="value.html#boost_assign_v214"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v215co" href="value.html#boost_assign_v215"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">deduce_fun_value</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v216co" href="value.html#boost_assign_v216"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v217co" href="value.html#boost_assign_v217"><img src="../../../../doc/src/images/callouts/6.png" alt="6" border="0"></a><span class="identifier">deduce_fun</span><span class="special">;</span>
+
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v212"></a> </p></td>
+<td valign="top" align="left"><p>
+ Pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v213"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping the <code class="computeroutput"><span class="identifier">PtrC</span></code>'s
+ pointer-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v214"></a> </p></td>
+<td valign="top" align="left"><p>
+ Value-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v215"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>'s
+ value-type to a factory thereof
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v216"></a> </p></td>
+<td valign="top" align="left"><p>
+ Either of a value or pointer-container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v217"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function mapping <code class="computeroutput"><span class="identifier">C</span></code>s
+ element-type to a factory thereof
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.fun.modulo"></a><a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo" title="Modulo">Modulo</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.fun.modulo.description"></a><h6>
+<a name="id36345599"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo.description">Description</a>
+ </h6>
+<p>
+ Overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ that replace a <a class="link" href="value.html#boost_assign_v2.reference.value.adapter" title="Adapter">Put.Adapter</a>'s
+ functor
+ </p>
+<a name="boost_assign_v2.reference.value.fun.modulo.synopsis"></a><h6>
+<a name="id36345642"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_fun</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.fun.modulo.semantics"></a><h6>
+<a name="id36345733"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_fun</span> <span class="special">=</span>
+ <span class="identifier">f</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply1</span><span class="special"><</span><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_fun</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span> <span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s functor with <code class="computeroutput"><span class="identifier">f</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.fun.modulo.customization"></a><h6>
+<a name="id36345948"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">FUN</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">NAME</span><span class="special">,</span> <span class="identifier">EXPR</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_GENERATE</span><span class="special">(</span><span class="identifier">constructor</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">::</span><span class="identifier">functor_aux</span><span class="special">::</span><span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>)</span>
+ <span class="identifier">BOOST_ASSIGN_V2_PUT_MODULO_FUN_KEYWORD</span><span class="special">(</span><span class="identifier">identity</span><span class="special">,</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Instances</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">_identity</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s functor with an identity functor
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">constructor</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s functor with a constructor
+ for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">new_ptr</span><span class="special"><</span><span class="identifier">T</span><span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s functor with a functor returning
+ a pointer for <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.fun.modulo.example"></a><h6>
+<a name="id36346369"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.fun.modulo.example">Example</a>
+ </h6>
+<a name="ex_put_fun"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">exponent</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">function</span><span class="special"><</span><span class="keyword">double</span><span class="special">(</span><span class="keyword">double</span><span class="special">)></span> <span class="identifier">f_</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">f_</span><span class="special">(</span> <span class="identifier">log10</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign_v218co" href="value.html#boost_assign_v218"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="number">1000.0</span> <span class="special">)(</span> <span class="number">10.0</span> <span class="special">)(</span> <span class="number">10000.0</span> <span class="special">)(</span> <span class="number">1.0</span> <span class="special">)(</span> <span class="number">100.0</span> <span class="special">);</span>
+
+
+<span class="keyword">double</span> <span class="identifier">eps</span> <span class="special">=</span> <span class="identifier">numeric</span><span class="special">::</span><span class="identifier">bounds</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">smallest</span><span class="special">();</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">-</span> <span class="number">3.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fabs</span><span class="special">(</span> <span class="identifier">exponent</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">-</span> <span class="number">2.0</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">eps</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v218"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">exponent</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">1000.0</span>
+ <span class="special">)</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">10.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">10000.0</span>
+ <span class="special">)</span> <span class="special">)(</span>
+ <span class="identifier">log10</span><span class="special">(</span>
+ <span class="number">1.0</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="identifier">log10</span><span class="special">(</span> <span class="number">100.0</span> <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">factorials</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special">*=</span> <span class="special">(</span> <span class="identifier">var</span><span class="special">(</span><span class="identifier">i</span><span class="special">)++</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">)</span>
+ <span class="special">)</span><a class="co" name="boost_assign_v219co" href="value.html#boost_assign_v219"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">()()()()()</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">factorials</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">6</span><span class="special">,</span> <span class="number">24</span><span class="special">,</span> <span class="number">120</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v219"></a> </p></td>
+<td valign="top" align="left"><p>
+ Equivalent to <code class="computeroutput"><span class="identifier">factorials</span><span class="special">(</span> <span class="identifier">k</span> <span class="special">*=</span> <span class="identifier">i</span><span class="special">++</span> <span class="special">)</span></code>
+ for <code class="literal">i = 1, ..., 5</code>
+ </p></td>
+</tr></table></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.modifier"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier" title="Modifier">Modifier</a>
+</h4></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Deduce</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Lookup</span></dt>
+<dt><span class="section">Modulo</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Standard</span></dt>
+</dl></div>
+<a name="boost_assign_v2.reference.value.modifier.header"></a><h6>
+<a name="id36347445"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.description"></a><h6>
+<a name="id36347492"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.description">Description</a>
+ </h6>
+<p>
+ A meta-function for deducing a default modifier, and overloads of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ that replace a <a class="link" href="value.html#boost_assign_v2.reference.value.adapter" title="Adapter">Put.Adapter</a>'s
+ modifier
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.deduce"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Deduce</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.deduce.header"></a><h6>
+<a name="id36347548"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/deduce.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.deduce.description"></a><h6>
+<a name="id36347595"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce.description">Description</a>
+ </h6>
+<p>
+ A meta-function that, based on a set of rules, maps a container's type
+ to a modifier
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.deduce.syntax"></a><h6>
+<a name="id36347618"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v220co" href="value.html#boost_assign_v220"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">deduce_modifier_tag</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v220"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function returning a modifier-tag
+ </p></td>
+</tr></table></div>
+<a name="boost_assign_v2.reference.value.modifier.deduce.semantics"></a><h6>
+<a name="id36347734"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">C</span></code>
+ </p>
+ </th>
+<th>
+ <p>
+ <code class="computeroutput"><span class="identifier">Tag</span></code>
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Associative
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Array
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Adapter
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ None of the above
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.deduce.customization"></a><h6>
+<a name="id36347960"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="comment">// The next 5 not override-able macros can be used for defining a custom switch
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_CASE</span><span class="special">(</span><span class="identifier">ModifierTag</span><span class="special">,</span> <span class="identifier">BooleanMetaFun</span><span class="special">,</span> <span class="identifier">Number</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ASSOCIATIVE</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::insert
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ARRAY</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::iterate<>
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_ADAPTER</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push
+</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH_DEFAULT</span><span class="special">(</span><span class="identifier">CaseNumber</span><span class="special">)</span> <em class="replaceable"><code>unspecified</code></em> <span class="comment">// modifier_tag::push_back
+</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_DEDUCE_SWITCH</span> <span class="comment">// Signals that a switch is already defined
+</span></pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.insert"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert" title="Insert">Insert</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.insert.header"></a><h6>
+<a name="id36348200"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/insert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.insert.description"></a><h6>
+<a name="id36348246"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard" title="Standard">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.insert.semantics"></a><h6>
+<a name="id36348275"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">_insert</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">insert</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.insert.example"></a><h6>
+<a name="id36348420"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert.example">Example</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Set</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">letters</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_insert</span> <span class="special">)(</span> <span class="string">"d"</span> <span class="special">)(</span> <span class="string">"a"</span> <span class="special">)(</span> <span class="string">"c"</span> <span class="special">)(</span> <span class="string">"b"</span> <span class="special">);<
/span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="string">"a"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">letters</span><span class="special">.</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="string">"d"</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">letters</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.iterate"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate" title="Iterate">Iterate</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.iterate.header"></a><h6>
+<a name="id36348768"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/iterate.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.iterate.description"></a><h6>
+<a name="id36348815"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate.description">Description</a>
+ </h6>
+<a name="boost_assign_v2.reference.value.modifier.iterate.synopsis"></a><h6>
+<a name="id36348833"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em> <span class="special">></span> <span class="keyword">struct</span> <span class="identifier">iterate</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_iterate</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+<span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_iterate</span> <span class="keyword">const</span> <span class="identifier">_iterate</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.iterate.semantics"></a><h6>
+<a name="id36349070"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">adapter-modifier</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_iterate</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter-modifier<span class="special">(</span> cont<span class="special">,</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">arg</span><span class="special">()</span> <span class="special">]</span>
+ <span class="special">=</span> t</code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_iterate</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_iterate</span> <span class="special">=</span>
+ <span class="identifier">arg</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">iterate</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ If omitted, <code class="computeroutput"><span class="identifier">arg</span><span class="special">()</span></code>
+ is equivalent to <code class="computeroutput"><span class="identifier">i</span><span class="special">++</span></code>
+ for some <code class="computeroutput"><span class="identifier">i</span></code> initialized
+ at zero.
+ </p>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.iterate.example"></a><h6>
+<a name="id36349689"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.iterate.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_iterate"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">index</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="number">100</span><span class="special">,</span> <span class="number">1000</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.lookup"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup" title="Lookup">Lookup</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.lookup.header"></a><h6>
+<a name="id36350100"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/lookup.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.lookup.description"></a><h6>
+<a name="id36350147"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup.description">Description</a>
+ </h6>
+<p>
+ An alternative modifier that is suitable for associative containers
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.lookup.synopsis"></a><h6>
+<a name="id36350170"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">lookup</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_lookup</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_lookup</span> <span class="keyword">const</span> <span class="identifier">_lookup</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.lookup.semantics"></a><h6>
+<a name="id36350398"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">adapter-modifier</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg</span></code></span></dt>
+<dd><p>
+ Copy of argument passed as <code class="computeroutput"><span class="identifier">_lookup</span>
+ <span class="special">=</span> <span class="identifier">arg</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter-modifier<span class="special">(</span> cont<span class="special">,</span> <span class="identifier">key</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">=</span>
+ <span class="identifier">arg</span><span class="special">(</span>
+ cont<span class="special">[</span> <span class="identifier">key</span>
+ <span class="special">]</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_lookup</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Pre-condition</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Requirement
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result</span><span class="special">-</span><span class="identifier">type</span></code> of <code class="computeroutput">adapter</code>'s
+ functor
+ </p>
+ </td>
+<td>
+ <p>
+ convertible to <code class="computeroutput">C<span class="special">::</span><span class="identifier">key_type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_lookup</span> <span class="special">=</span>
+ <span class="identifier">arg</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">lookup</span><span class="special"><</span><span class="identifier">Arg</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ The precondition is usually not met by default. In common cases, this
+ suffices:
+</p>
+<pre class="programlisting">adapter <span class="special">%</span> <span class="special">(</span> <span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">_lookup</span> <span class="special">=</span> <span class="identifier">arg</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.lookup.example"></a><h6>
+<a name="id36351286"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.lookup.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_lookup"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">str_</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">C</span><span class="special">;</span> <span class="identifier">C</span> <span class="identifier">year</span><span class="special">;</span>
+<span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">year</span> <span class="special">)(</span> <span class="string">"feb"</span><span class="special">,</span> <span class="number">28</span> <span class="special">)(</span> <span class="string">"apr"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"jun"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"sep"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)(</span> <span class="string">"nov"</span><span class="special">,</span> <span class="number">30</span> <span class="special">)</span>
+ <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_fun</span> <span class="special">=</span> <span class="identifier">_1</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_lookup</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">_1</span> <span class="special">=</span> <span class="number">31</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">)</span><a class="co" name="boost_assign_v221co" href="value.html#boost_assign_v221"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"jan"</span> <span class="special">)(</span> <span class="string">"mar"</span> <span class="special">)(</span> <span class="string">"may"</span> <span class="special">)(</span> <span class="string">"jul"</span> <span class="special">)(</span> <span class="string">"aug"</span> <span class="special">)(</span> <span class="string">"oct"</span> <span class="special">)(</span> <span class="string">"dec"</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">year</span><span class="special">[</span><span class="string">"dec"</span><span class="special">]</span> <span class="special">==</span> <span class="number">31</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v221"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">year</span><span class="special">[</span><span class="string">"jan"</span><span class="special">]</span>
+ <span class="special">=</span> <span class="number">31</span></code>
+ etc.
+ </p></td>
+</tr></table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.modulo"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo" title="Modulo">Modulo</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.modulo.header"></a><h6>
+<a name="id36351885"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/modulo.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.modulo.description"></a><h6>
+<a name="id36351932"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo.description">Description</a>
+ </h6>
+<p>
+ Overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>
+ to replace an adapter's modifier
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.modulo.synopsis"></a><h6>
+<a name="id36351968"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v222co" href="value.html#boost_assign_v222"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v223co" href="value.html#boost_assign_v223"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">Arg</span> <span class="special">=</span> <span class="identifier">keyword_aux</span><span class="special">::</span><span class="identifier">ignore</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span>
+ <span class="special">{</span>
+
+ <span class="identifier">modulo_modifier</span><span class="special">(){}</span>
+ <span class="identifier">modulo_modifier</span><span class="special">(</span><span class="identifier">Arg</span> <span class="identifier">arg</span><span class="special">);</span>
+
+ <span class="identifier">Arg</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg1</span><span class="special">></span>
+ <span class="keyword">operator</span><span class="special">=(</span><span class="keyword">const</span> <span class="identifier">Arg1</span><span class="special">&</span> <span class="identifier">arg1</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v224co" href="value.html#boost_assign_v224"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">meta_modifier_tag</span>
+ <span class="special">{</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v225co" href="value.html#boost_assign_v225"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v226co" href="value.html#boost_assign_v226"><img src="../../../../doc/src/images/callouts/5.png" alt="5" border="0"></a><span class="identifier">apply</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">D</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">modulo_modifier</span><span class="special">{</span>
+
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">apply</span>
+ <span class="special">{};</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D</span><span class="special">,</span>
+ <span class="keyword">typename</span> <span class="identifier">Keyword</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Arg</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="special">::</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span>
+ <span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">%(</span>
+ <span class="identifier">adapter_crtp</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">,</span> <span class="identifier">D</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span>
+ <span class="identifier">modulo_modifier</span><span class="special"><</span><span class="identifier">Keyword</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v222"></a> </p></td>
+<td valign="top" align="left"><p>
+ A class of modifiers
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v223"></a> </p></td>
+<td valign="top" align="left"><p>
+ A part of the modifier's implementation
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v224"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class to be specialized on Keyword
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v225"></a> </p></td>
+<td valign="top" align="left"><p>
+ Inherits <code class="computeroutput"><span class="identifier">adapter_crtp</span><span class="special"><></span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v226"></a> </p></td>
+<td valign="top" align="left"><p>
+ Returns a modifier-tag
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.modulo.semantics"></a><h6>
+<a name="id36352910"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> adapter-modifier
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.modulo.customization"></a><h6>
+<a name="id36352997"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.modulo.customization">Customization</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span> <span class="identifier">unspecified</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">Name</span><span class="special">,</span> <span class="identifier">Result</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span></code>
+ on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>
+ to return <code class="computeroutput"><span class="identifier">Result</span></code><sup>[<a name="id36353210" href="#ftn.id36353210" class="footnote">a</a>]</sup>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_KEYWORD</span><span class="special">(</span><span class="identifier">Name</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Creates a class <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_Name</span></code>,
+ and a <code class="computeroutput"><span class="keyword">const</span></code> instance
+ thereof, <code class="computeroutput"><span class="identifier">_Name</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+<tbody class="footnotes"><tr><td colspan="2"><div class="footnote"><p><sup>[<a name="ftn.id36353210" href="#id36353210" class="para">a</a>] </sup>
+ <code class="computeroutput"><span class="identifier">Result</span></code> may
+ be expressed in terms of <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p></div></td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Requirement</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup><col></colgroup>
+<thead><tr><th>
+ <p>
+ Requirement
+ </p>
+ </th></tr></thead>
+<tbody><tr><td>
+ <p>
+ Specialize <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">modifier</span><span class="special"><</span><span class="identifier">Result</span><span class="special">></span></code> on <code class="computeroutput"><span class="identifier">keyword_Name</span></code>.
+ See <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.modifier" title="Modifier">Adapter.Modifier</a>
+ </p>
+ </td></tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Example</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_KEYWORD</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_META_MODIFIER_TAG</span><span class="special">(</span><span class="identifier">standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.push"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push" title="Push">Push</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.push.header"></a><h6>
+<a name="id36353491"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push.description"></a><h6>
+<a name="id36353538"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard" title="Standard">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push.semantics"></a><h6>
+<a name="id36353567"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">_push</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.push.example"></a><h6>
+<a name="id36353712"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span><span class="special">;</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">fifo</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.push_back"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back" title="Push_back">Push_back</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.push_back.header"></a><h6>
+<a name="id36353964"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push_back.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push_back.description"></a><h6>
+<a name="id36354010"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard" title="Standard">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push_back.semantics"></a><h6>
+<a name="id36354039"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">_push_back</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_back</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.push_back.example"></a><h6>
+<a name="id36354184"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_back</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">list</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.push_front"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front" title="Push_front">Push_front</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.push_front.header"></a><h6>
+<a name="id36354444"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/push_front.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push_front.description"></a><h6>
+<a name="id36354491"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front.description">Description</a>
+ </h6>
+<p>
+ A <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard" title="Standard">Standard
+ modifier</a>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.push_front.semantics"></a><h6>
+<a name="id36354520"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="identifier">_push_front</span>
+ </code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">push_front</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../doc/src/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ Don't misconstrue the existence of this overload of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code> as necessary to specify the stated
+ modifier. In particular, the default, for a particular <code class="computeroutput">adapter</code>,
+ is the most natural choice. See the section of that adapter and section
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.deduce" title="Deduce">Modifier.Deduce</a>
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.push_front.example"></a><h6>
+<a name="id36354664"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_push_front"></a><p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">sqrt2</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">1.41421</span> <span class="special">)(</span> <span class="number">1.4142</span> <span class="special">)(</span> <span class="number">1.414</span> <span class="special">)(</span> <span class="number">1.41</span> <span class="special">);</span>
+
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lower_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">upper_bound</span><span class="special">(</span> <span class="identifier">sqrt2</span><span class="special">,</span> <span class="number">1.41421</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> <span class="identifier">sqrt2</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.repeat"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat" title="Repeat">Repeat</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.repeat.header"></a><h6>
+<a name="id36355020"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/repeat.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.repeat.description"></a><h6>
+<a name="id36355066"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat.description">Description</a>
+ </h6>
+<p>
+ A modifier that grafts onto that of an adapter to produce repetitive
+ invocations of the latter
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.repeat.synopsis"></a><h6>
+<a name="id36355090"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">modifier_tag</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">repeat</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">modifier_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">>;</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_repeat</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_repeat</span> <span class="keyword">const</span> <span class="identifier">_repeat</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.repeat.semantics"></a><h6>
+<a name="id36355318"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">adapter-modifier<span class="number">0</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput">adapter-modifier</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span><span class="special"><</span> <span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">Tag</span><span class="special">></span> <span class="special">></span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter-modifier<span class="special">(</span> cont<span class="special">,</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">m</span> <span class="special">=</span>
+ <span class="identifier">n</span><span class="special">;</span>
+ <span class="keyword">while</span><span class="special">(</span><span class="identifier">m</span><span class="special">--)</span>
+ adapter-modifier<span class="number">0</span><span class="special">(</span>
+ cont<span class="special">,</span> t <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_repeat</span><span class="special">,</span>
+ <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">adapter <span class="special">%</span> <span class="special">(</span>
+ <span class="identifier">_repeat</span> <span class="special">=</span>
+ <span class="identifier">n</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Replaces <code class="computeroutput">adapter</code>'s modifier-tag with <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">repeat</span><span class="special"><</span><span class="identifier">D</span><span class="special">::</span><span class="identifier">modifier_tag</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.repeat.example"></a><h6>
+<a name="id36355921"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.repeat.example">Example</a>
+ </h6>
+<a name="ex_put_modifier_repeat"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_AUTO</span><span class="special">(</span>
+ <span class="identifier">cont</span><span class="special">,</span> <span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_nil</span> <span class="special">)</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_repeat</span> <span class="special">=</span> <span class="number">2</span> <span class="special">)</span>
+ <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">48</span><span class="special">,</span> <span class="number">48</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">72</span><span class="special">,</span> <span class="number">72</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h5 class="title">
+<a name="boost_assign_v2.reference.value.modifier.standard"></a><a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard" title="Standard">Standard</a>
+</h5></div></div></div>
+<a name="boost_assign_v2.reference.value.modifier.standard.header"></a><h6>
+<a name="id36356553"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/modifier/standard.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.standard.description"></a><h6>
+<a name="id36356599"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.description">Description</a>
+ </h6>
+<p>
+ A standard modifier template.
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.standard.synopsis"></a><h6>
+<a name="id36356622"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">keyword_standard_modifier</span><span class="special">;</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+<span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">keyword_standard_modifier</span> <span class="keyword">const</span> <span class="identifier">_standard_modifier</span><span class="special">;</span>
+
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+<span class="preprocessor">#define</span> <span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span> <span class="identifier">unspecified</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.standard.semantics"></a><h6>
+<a name="id36356775"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">adapter-modifier</code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code><modifier_tag::FUN>`
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">apply2</span><span class="special"><</span><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">meta_modifier_tag</span><span class="special"><</span><span class="identifier">D</span><span class="special">>,</span>
+ <span class="identifier">keyword_standard_modifier</span><span class="special">,</span> <span class="identifier">Arg</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">Arg</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Defines <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>
+ as an empty class.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">FUN</span><span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Specializes <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_modifier</span></code>
+ on <code class="computeroutput"><span class="identifier">modifier_tag</span><span class="special">::</span><span class="identifier">FUN</span></code>,
+ such that <code class="computeroutput">adapter-modifier<span class="special">.</span><span class="identifier">impl</span><span class="special">(</span>
+ cont<span class="special">,</span> t <span class="special">)</span></code>
+ forwards to the modifier of <code class="computeroutput">cont</code> named FUN, using
+ move semantics where possible.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.reference.value.modifier.standard.example"></a><h6>
+<a name="id36357148"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD_TAG</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+<span class="identifier">BOOST_ASSIGN_V2_PUT_MODIFIER_MODULO_STANDARD</span><span class="special">(</span><span class="identifier">push_back</span><span class="special">)</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.modifier.standard.instances"></a><h6>
+<a name="id36357211"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.standard.instances">Instances</a>
+ </h6>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.insert" title="Insert">Insert</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push" title="Push">Push</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_back" title="Push_back">Push_back</a>
+ </li>
+<li class="listitem">
+ <a class="link" href="value.html#boost_assign_v2.reference.value.modifier.push_front" title="Push_front">Push_front</a>
+ </li>
+</ul></div>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.pipe"></a><a class="link" href="value.html#boost_assign_v2.reference.value.pipe" title="Pipe">Pipe</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.value.pipe.header"></a><h6>
+<a name="id36357300"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.pipe.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/pipe.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.pipe.description"></a><h6>
+<a name="id36357346"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.pipe.description">Description</a>
+ </h6>
+<p>
+ Overloads <code class="computeroutput"><span class="keyword">operator</span><span class="special">|</span></code><sup>[<a name="id36357374" href="#ftn.id36357374" class="footnote">6</a>]</sup>, such as to make <a class="link" href="value.html#boost_assign_v2.reference.value.put" title="Put"><code class="computeroutput"><span class="identifier">put</span></code></a> composable.
+ </p>
+<a name="boost_assign_v2.reference.value.pipe.synopsis"></a><h6>
+<a name="id36357416"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.pipe.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="comment">// put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span> <span class="special">=</span> <em class="replaceable"><code>unspecified</code></em><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">enable_pars</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">size</span><span class="special"><</span><span class="identifier">ArgsList</span><span class="special">>::</span><span class="identifier">value</span> <span class="special">==</span> <span class="number">0</span>
+ <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">args_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="keyword">bool</span> <span class="identifier">enable_pars</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span>
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">ArgsList</span><span class="special">,</span> <span class="identifier">enable_pars</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">args_list_</span>
+ <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_put</span> <span class="special">=</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><>();</span>
+
+<span class="comment">// csv_put syntax
+</span><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">arg_list_size_type</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Pars</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">arg_list</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">ParList</span> <span class="special">=</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">vector0</span><span class="special"><></span> <span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">arg_list_generator</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span><span class="keyword">typename</span> <span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">arg_list_size_type</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="identifier">C</span><span class="special">&</span> <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><</span><span class="identifier">ParList</span><span class="special">,</span> <span class="identifier">N</span><span class="special">,</span> <span class="identifier">U</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">arg_list</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+
+ <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list_generator</span><span class="special"><></span> <span class="keyword">const</span> <span class="identifier">_csv_put</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.pipe.semantics"></a><h6>
+<a name="id36358207"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.pipe.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Indivual elements of the argument list, <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+<dt><span class="term"> <code class="computeroutput">p1, ..., pm</code> </span></dt>
+<dd><p>
+ Parameters passed in the right hand side of <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>. The special case <code class="literal">m = 0</code>
+ means an empty list
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> _csv_put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">arg_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments by reference (no copying)
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">(</span> _put % p1 ... % pm <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an instance of <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">args_list</span><span class="special"><></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Keeps the arguments of each invocation by reference (no copying)
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">arg_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _csv_put % p1 ...
+ % pm <span class="special">)(</span> <span class="identifier">args</span><span class="special">...</span> <span class="special">)</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">args_list</span></code></span></dt>
+<dd><p>
+ Result of <code class="computeroutput"><span class="special">(</span> _put % p1 ... %
+ pm <span class="special">)(</span> <span class="identifier">args1</span><span class="special">...</span> <span class="special">)...(</span>
+ <span class="identifier">argsn</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Operator|</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">arg_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> t<span class="number">1</span> <span class="special">)...(</span> tn <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">cont <span class="special">|</span> <span class="identifier">args_list</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="special">(</span> put<span class="special">(</span> cont <span class="special">)</span> <span class="special">%</span> <span class="identifier">p1</span> <span class="special">...</span> <span class="special">%</span> <span class="identifier">pm</span> <span class="special">)(</span> <span class="identifier">args1</span> <span class="special">)...(</span> <span class="identifier">argsn</span> <span class="special">).</span><span class="identifier">container</span><span class="special">()</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ The semantics above are borrowed from <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">range
+ adaptors</a>, but they differ in that the latter transforms a range,
+ whereas, here, the state of a container is modified. In each case, however,
+ composability follows, which is explained here
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.pipe.example"></a><h6>
+<a name="id36358950"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.pipe.example">Example</a>
+ </h6>
+<a name="ex_put_pipe"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">T</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">cont</span> <span class="special">|</span> <a class="co" name="boost_assign_v227co" href="value.html#boost_assign_v227"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"y"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"z"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list"><tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v227"></a> </p></td>
+<td valign="top" align="left"><p>
+ <code class="computeroutput"><span class="string">"x"</span></code>, <code class="computeroutput"><span class="string">"y"</span></code> and <code class="computeroutput"><span class="string">"z"</span></code>
+ are kept as <code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">2</span><span class="special">]</span></code>
+ </p></td>
+</tr></table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">interval</span><span class="special">;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">6</span><span class="special">></span> <span class="identifier">all6</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span>
+ <span class="identifier">all6</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_put</span><span class="special">(</span> <span class="number">1</span> <span class="special">)(</span> <span class="number">2</span> <span class="special">)(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">interval</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">5</span> <span class="special">)(</span> <span class="number">6</span> <span class="special">),</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">interval</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">powers</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">front</span> <span class="special">=</span> <span class="special">(</span>
+ <span class="identifier">powers</span> <span class="special">|</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_csv_put</span> <span class="special">%</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_push_front</span> <span class="special">)(</span> <span class="number">16</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span>
+<span class="special">).</span><span class="identifier">front</span><span class="special">();</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">front</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">==</span> <span class="number">16</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.reference.value.put"></a><a class="link" href="value.html#boost_assign_v2.reference.value.put" title="Put">Put</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.reference.value.put.header"></a><h6>
+<a name="id36360308"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.put.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/value/put.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.reference.value.put.description"></a><h6>
+<a name="id36360354"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.put.description">Description</a>
+ </h6>
+<p>
+ An <a class="link" href="value.html#boost_assign_v2.reference.value.adapter" title="Adapter">adapter</a>
+ wrapped around a user supplied container
+ </p>
+<a name="boost_assign_v2.reference.value.put.synopsis"></a><h6>
+<a name="id36360382"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.put.synopsis">Synopsis</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">value_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">container_adapter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">typedef</span> <span class="identifier">unspecified</span> <span class="identifier">result_type</span><span class="special">;</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="identifier">container_adapter</span><span class="special">();</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+ <span class="keyword">explicit</span> <span class="identifier">container_adapter</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">modifier_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">m</span> <span class="special">);</span>
+
+ <span class="identifier">C</span><span class="special">&</span> <span class="identifier">container</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v228co" href="value.html#boost_assign_v228"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">replace_fun</span><span class="special"><</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v229co" href="value.html#boost_assign_v229"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">replace_modifier_tag</span><span class="special"><</span> <span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span> <span class="identifier">F</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="special">>{};</span>
+
+<span class="special">}//</span> <span class="identifier">value_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <a class="co" name="boost_assign_v230co" href="value.html#boost_assign_v230"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">put</span><span class="special">{;</span>
+
+<span class="special">}//</span> <span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">put</span><span class="special">(</span> <span class="identifier">C</span><span class="special">&</span> <span class="identifier">cont</span> <span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v228"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v229"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function class
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v230"></a> </p></td>
+<td valign="top" align="left"><p>
+ Meta-function
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.reference.value.put.semantics"></a><h6>
+<a name="id36361161"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.put.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Adapter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Properties
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span>
+ <span class="identifier">Tag</span><span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Inherits <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp"><code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">adapter_crtp</span><span class="special"><</span>C<span class="special">,</span> F<span class="special">,</span>
+ <span class="identifier">Tag</span><span class="special">></span></code></a>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Meta</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">value_aux</span><span class="special">::</span><span class="identifier">container_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">,</span>
+ <span class="identifier">deduce_fun</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span>
+ <span class="identifier">deduce_modifier_tag</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ An instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">put</span><span class="special"><</span><span class="identifier">C</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ Also see the semantics of the <a class="link" href="value.html#boost_assign_v2.reference.value.adapter.crtp" title="Crtp">base
+ class</a>.
+ </p>
+<a name="boost_assign_v2.reference.value.put.example"></a><h6>
+<a name="id36361621"></a>
+ <a class="link" href="value.html#boost_assign_v2.reference.value.put.example">Example</a>
+ </h6>
+<a name="ex_put_put"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">bitset</span><span class="special"><</span><span class="number">3</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <a class="co" name="boost_assign_v231co" href="value.html#boost_assign_v231"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">consecutive</span><span class="special">;</span>
+<a class="co" name="boost_assign_v232co" href="value.html#boost_assign_v232"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">consecutive</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"001"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"010"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"100"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"101"</span> <span class="special">)</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"110"</span> <span class="special">)</span> <span class="special">)(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">consecutive</span><span class="special">[</span><span class="identifier">i</span><span class="special">].</span><span class="identifier">to_ulong</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v231"></a> </p></td>
+<td valign="top" align="left"><p>
+ Keep in mind that although <code class="computeroutput"><span class="identifier">data_</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>,
+ for instance, is valid, <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="identifier">str_</span><span class="special">(</span> <span class="string">"011"</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ isn't (GCC4.2)
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v232"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">consecutive</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span>
+ <span class="special">);</span></code> for <code class="literal">t = </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"000"</span> <span class="special">)</span></code><code class="literal">,
+ ..., </code><code class="computeroutput"><span class="identifier">str_</span><span class="special">(</span> <span class="string">"111"</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v233co" href="value.html#boost_assign_v233"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v234co" href="value.html#boost_assign_v234"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v233"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code> for <code class="literal">( i, t ) = ( 0, "+"
+ ), ..., ( 5, "." )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v234"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">numeric_kb</span><span class="special">[</span>
+ <span class="number">6</span> <span class="special">+</span>
+ <span class="identifier">i</span> <span class="special">]</span>
+ <span class="special">=</span> <span class="identifier">data_</span><span class="special">(</span> <span class="special">*(</span> <span class="identifier">b</span> <span class="special">+</span> <span class="identifier">i</span> <span class="special">)</span> <span class="special">)</span></code> for <code class="literal">i = 0, ..., 9</code>
+ and <code class="literal">b =</code> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">numeric</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 3</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">double</span> <span class="identifier">data_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">data_</span><span class="special">></span> <span class="identifier">variable_size_</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">a</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">a</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.71</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.63</span><span class="special">;</span> <span class="identifier">a</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.85</span><span class="special">;</span>
+<span class="identifier">variable_size_</span> <span class="identifier">b</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span> <span class="identifier">b</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.61</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.69</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.92</span><span class="special">;</span> <span class="identifier">b</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="number">0.55</span><span class=
"special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">variable_size_</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">ragged</span><span class="special">;</span>
+<span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">ragged</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v235co" href="value.html#boost_assign_v235"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">),</span> <span class="identifier">end</span><span class="special">(</span> <span class="identifier">a</span> <span class="special">)</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v236co" href="value.html#boost_assign_v236"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="special">(</span> <span class="identifier">b</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v237co" href="value.html#boost_assign_v237"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">99.99</span> <span class="special">)</span>
+ <a class="co" name="boost_assign_v238co" href="value.html#boost_assign_v238"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="special">(</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">0</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">a</span><span class="special">.</span><span class="identifier">size</span><span class="special">()</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ragged</span><span class="special">[</span><span class="number">3</span><span class="special">].</span><span class="identifier">size</span><span class="special">()</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v235"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ <span class="identifier">a</span> <span class="special">)</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v236"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="identifier">b</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v237"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="number">1</span><span class="special">,</span>
+ <span class="special">-</span><span class="number">99.99</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v238"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">ragged</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">variable_size_</span><span class="special">(</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 4</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">adapter</span><span class="special">;</span> <a class="co" name="boost_assign_v239co" href="value.html#boost_assign_v239"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">adapter</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">array</span><span class="special">;</span> <a class="co" name="boost_assign_v240co" href="value.html#boost_assign_v240"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">array</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">set</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span> <a class="co" name="boost_assign_v241co" href="value.html#boost_assign_v241"><img src="../../../../doc/src/images/callouts/3.png" alt="3" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">seq</span><span class="special">;</span> <a class="co" name="boost_assign_v242co" href="value.html#boost_assign_v242"><img src="../../../../doc/src/images/callouts/4.png" alt="4" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">seq</span> <span class="special">)(</span> <span class="number">72</span> <span class="special">)(</span> <span class="number">31</span> <span class="special">)(</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v239"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">adapter</span><span class="special">.</span><span class="identifier">push</span><span class="special">(</span> <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v240"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">array</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="identifier">t</span></code>
+ for <code class="literal">( i, t ) = ( 0, 72 ), ( 1, 31 ), ( 2, 48 )</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v241"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">assoc</span><span class="special">.</span><span class="identifier">insert</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v242"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">seq</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">t</span> <span class="special">)</span></code>
+ for <code class="literal">t = 72, 31, 48</code>
+ </p></td>
+</tr>
+</table></div>
+<p>
+ <span class="bold"><strong>Example 5</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">char</span> <span class="identifier">us_state_</span> <span class="special">[</span><span class="number">3</span><span class="special">];</span> <span class="identifier">us_state_</span> <span class="identifier">ct</span> <span class="special">=</span> <span class="string">"CT"</span><span class="special">,</span> <span class="identifier">nj</span> <span class="special">=</span> <span class="string">"NJ"</span><span class="special">,</span> <span class="identifier">ny</span> <span class="special">=</span> <span class="string">"NY"</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="keyword">int</span> <span class="identifier">area_code_</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">tuple</span><span class="special"><</span><span class="identifier">us_state_</span><a class="co" name="boost_assign_v243co" href="value.html#boost_assign_v243"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="special">&,</span> <span class="identifier">area_code_</span><span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span> <span class="identifier">data_</span> <span class="special">></span> <span class="identifier">tri_state_area</span><span class="special">;</span>
+<a class="co" name="boost_assign_v244co" href="value.html#boost_assign_v244"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">put</span><span class="special">(</span> <span class="identifier">tri_state_area</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">212</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">718</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">516</span> <span class="special">)(</span> <span class="identifier">ny</span><span class="special">,</span> <span class="number">914</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">210</span> <span class="special">)(</span> <span class="
identifier">nj</span><span class="special">,</span> <span class="number">908</span> <span class="special">)(</span> <span class="identifier">nj</span><span class="special">,</span> <span class="number">609</span> <span class="special">)(</span> <span class="identifier">ct</span><span class="special">,</span> <span class="number">203</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">0</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="identifier">ny</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="number">1</span><span class="special">>(</span> <span class="identifier">tri_state_area</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">203</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v243"></a> </p></td>
+<td valign="top" align="left"><p>
+ Notice the <span class="bold"><strong>reference</strong></span>
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v244"></a> </p></td>
+<td valign="top" align="left"><p>
+ Calls <code class="computeroutput"><span class="identifier">tri_state</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span>
+ <span class="identifier">data_</span><span class="special">(</span>
+ <span class="identifier">s</span><span class="special">,</span>
+ <span class="identifier">c</span> <span class="special">)</span>
+ <span class="special">)</span></code> for <code class="literal">( s, c ) =( ny,
+ 212 )...( ct, 203 )</code>
+ </p></td>
+</tr>
+</table></div>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36357374" href="#id36357374" class="para">6</a>] </sup>
+ The reason for calling it <span class="emphasis"><em>pipe</em></span> rather than <span class="emphasis"><em>bitwise
+ or</em></span>, the C++ convention, is that the former speaks better to
+ the semantics that it implements in this particular context, in reference
+ to the idiom
+ by the same name.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="ref.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/support.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/support.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,48 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Support</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="change_log.html" title="Change log">
+<link rel="next" href="hist.html" title="History and acknowledgement">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.support"></a><a class="link" href="support.html" title="Support">Support</a>
+</h2></div></div></div>
+<p>
+ To get help or make a suggestion, post to the <a href="http://www.boost.org/community/groups.html#users" target="_top">Boost
+ Users Mailing List</a>, but also make sure to notify TO
+ and <a href="mailto:erDOTciDOT2020ATgmailDOTcom" target="_top">ER</a> by cc-ing them.
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="change_log.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hist.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tut.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tut.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,342 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Tutorial</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="org.html" title="Organization">
+<link rel="next" href="conv.html" title="Conventions">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="org.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.tut"></a><a class="link" href="tut.html" title="Tutorial">Tutorial</a>
+</h2></div></div></div>
+<a name="boost_assign.tut.requisites"></a><h4>
+<a name="id36332040"></a>
+ <a class="link" href="tut.html#boost_assign.tut.requisites">Requisites</a>
+ </h4>
+<p>
+ As shown in section <a class="link" href="org.html#full_include">Organization</a>, we assume
+ in this tutorial that all the header files are included, and, in addition,
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ Headers from other libraries will not be shown in the code snippets of this
+ tutorial, but they can be found in the tutorial's actual <a href="../../../tutorial.cpp" target="_top">source
+ file</a>.
+ </p>
+<a name="boost_assign.tut.assigning"></a><h4>
+<a name="id36332112"></a>
+ <a class="link" href="tut.html#boost_assign.tut.assigning">Assigning</a>
+ </h4>
+<p>
+ In the <a class="link" href="../index.html#boost_assign_v2.intro" title="Introduction">introduction</a>'s example
+ we encountered the operation which gives this library its name, assign-ment,
+ in this case, of an array's
+ elements. Throughout this library, we call <a class="link" href="reference/interpreter.html" title="Interpreter"><span class="emphasis"><em>interpreter</em></span></a>
+ the object returned by <a class="link" href="reference/put.html" title="Put"><code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code></a>.
+ In this example, it was invoked over one set of values (<code class="computeroutput"><span class="string">"+"</span></code>,
+ <code class="computeroutput"><span class="string">"-"</span></code>, etc.), each specified
+ individually, and another set passed as a range
+ with a special wrapper around it, <code class="computeroutput">as_arg_list<span class="special">(</span>
+ <span class="identifier">numeric</span> <span class="special">)</span></code>.
+ The wrapper tells the interpreter to process each of its elements as individual
+ arguments.
+ </p>
+<a name="boost_assign.tut.pointer_containers"></a><h4>
+<a name="id36332208"></a>
+ <a class="link" href="tut.html#boost_assign.tut.pointer_containers">Pointer-containers</a>
+ </h4>
+<p>
+ The same interface works similarly for pointer containers <sup>[<a name="id36332221" href="#ftn.id36332221" class="footnote">3</a>]</sup>:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">ptr_set</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="string">"isomer"</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="string">"ephemeral"</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="string">"prosaic"</span><span class="special">;</span>
+<span class="identifier">csv</span><span class="special">(</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">),</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">z</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tut.csv"></a><h4>
+<a name="id36332527"></a>
+ <a class="link" href="tut.html#boost_assign.tut.csv">Csv</a>
+ </h4>
+<p>
+ The call to <code class="computeroutput"><span class="identifier">csv</span></code> that just precedes
+ <sup>[<a name="id36332547" href="#ftn.id36332547" class="footnote">4</a>]</sup> is equivalent to <code class="computeroutput">put<span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span>
+ <span class="special">)(</span> <span class="identifier">z</span> <span class="special">)</span></code>. Similarly, where <span class="emphasis"><em>csv</em></span>
+ is the prefix of a generating function's identifier, it indicates that a unary
+ functor, whose identifier is a namesake of the suffix, is evaluated successively
+ for each of the arguments. For example, container generating function <code class="computeroutput">csv_deque</code>
+ is paired to <code class="computeroutput">deque</code>.
+ </p>
+<a name="boost_assign.tut.piping"></a><h4>
+<a name="id36332627"></a>
+ <a class="link" href="tut.html#boost_assign.tut.piping">Piping</a>
+ </h4>
+<p>
+ Here, we'd like to put a set of values in a container, and in the same statement,
+ pass it through a mutating algorithm:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">stable_partition</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">|</span> <span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">),</span> <span class="identifier">_1</span> <span class="special">%</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ It is the vertical bar, <code class="computeroutput"><span class="special">|</span></code>, which
+ expresses the on-the-fly modification we were looking for. Such an expression
+ is referred to as <a class="link" href="reference/pipe.html" title="Pipe"><span class="emphasis"><em>piping</em></span></a>
+ throughout this library, after the related idiom
+ by the same name <sup>[<a name="id36332843" href="#ftn.id36332843" class="footnote">5</a>]</sup>. What it does is equivalent to invoking <code class="computeroutput"><span class="identifier">csv</span><span class="special">(</span> put<span class="special">(</span> cont <span class="special">),</span> <span class="number">0</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span>
+ <span class="number">4</span><span class="special">,</span> <span class="number">5</span>
+ <span class="special">)</span></code> but, in addition, returns <code class="computeroutput">cont</code>.
+ </p>
+<a name="boost_assign.tut.container_generation"></a><h4>
+<a name="id36332943"></a>
+ <a class="link" href="tut.html#boost_assign.tut.container_generation">Container generation</a>
+ </h4>
+<p>
+ Having, in the same statement, assigned <code class="computeroutput"><span class="identifier">cont</span></code>
+ and passed it through a <a href="http://www.boost.org/doc/libs/1_46_0/libs/range/doc/html/range/reference/algorithms/mutating/stable_partition.html" target="_top">stable
+ partition algorithm</a>, let's verify that what was intended matches the
+ state of the container:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tut.reference_arrays"></a><h4>
+<a name="id36333226"></a>
+ <a class="link" href="tut.html#boost_assign.tut.reference_arrays">Reference arrays</a>
+ </h4>
+<p>
+ The other container generating function is <a class="link" href="reference/ref.html" title="Ref"><code class="computeroutput">ref::csv_array</code></a><sup>[<a name="id36333245" href="#ftn.id36333245" class="footnote">6</a>]</sup>. The returned container is, more specifically, an array of reference
+ wrappers, which we designate as <span class="emphasis"><em>reference array</em></span> in this
+ library. In the example that precedes, either could be substituted for <code class="computeroutput">csv_deque</code>.
+ The reciprocal is not true, in general. A reference array is preferable if
+ the values are expensive to copy, and necessary for working specifically with
+ references, such as as follows:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">4</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">6</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">max</span> <span class="special">=</span> <span class="special">*</span><span class="identifier">max_element</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="special">&</span><span class="identifier">max</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">y</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tut.chaining"></a><h4>
+<a name="id36333477"></a>
+ <a class="link" href="tut.html#boost_assign.tut.chaining">Chaining</a>
+ </h4>
+<p>
+ Chaining ranges is already provided as join
in Boost.
+ Here's a variant that caters in special way to reference arrays:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span cla
ss="identifier">i</span><span class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">consecutive5</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">seven</span> <span class="special">==</span> <span class="number">7</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The odd thing to notice is that this algorithm modifies <code class="computeroutput"><span class="identifier">six</span></code>,
+ <code class="computeroutput"><span class="identifier">seven</span></code> and <code class="computeroutput"><span class="identifier">eight</span></code>
+ even though the array returned by <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span></code>
+ is an rvalue. The keyword <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span></code> is
+ necessary in conjunction with a reference array whose references are to be
+ modified (in read mode, instead, implicit conversion takes care of it).
+ </p>
+<a name="boost_assign.tut.conversion"></a><h4>
+<a name="id36334126"></a>
+ <a class="link" href="tut.html#boost_assign.tut.conversion">Conversion</a>
+ </h4>
+<p>
+ Even a not so standard container, such as a <a href="http://flylib.com/books/en/2.674.1.106/1/" target="_top">container
+ adapter</a>, can be copy constructed from a container of the same type.
+ Combining a container generating function with a conversion tool gives us the
+ recipe, therefore, for initializing such (and more versatile) containers:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span> <span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The conversion, here, is implicit, and is made possible by a conversion operator
+ fitted to the object returned by <code class="computeroutput">converter</code>. See the relevant
+ <a class="link" href="reference/conversion.html" title="Conversion">section</a> about explicit
+ conversion.
+ </p>
+<a name="boost_assign.tut.data_member_generation"></a><h4>
+<a name="id36334342"></a>
+ <a class="link" href="tut.html#boost_assign.tut.data_member_generation">Data-member generation</a>
+ </h4>
+<p>
+ The capabalities of <code class="computeroutput">put</code> and <code class="computeroutput">deque</code> vs their csv counterparts
+ become apparent when we need to forward arguments to the <code class="computeroutput">cont</code>'s
+ value-type (a.k.a data member). For example,
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">map</span><span class="special">;</span>
+<span class="identifier">put</span><span class="special">(</span> <span class="identifier">map</span> <span class="special">)(</span> <span class="string">"foo"</span><span class="special">,</span> <span class="number">1</span> <span class="special">)(</span> <span class="string">"bar"</span><span class="special">,</span> <span class="number">2</span> <span class="special">)(</span> <span class="string">"baz"</span><span class="special">,</span> <span class="number">3</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">map</span><span class="special">[</span><span class="string">"bar"</span><span class="special">]</span> <span class="special">=</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tut.automatic_deduction"></a><h4>
+<a name="id36334552"></a>
+ <a class="link" href="tut.html#boost_assign.tut.automatic_deduction">Automatic deduction</a>
+ </h4>
+<p>
+ We have seen that <code class="computeroutput">put</code> was applied to different containers, whether
+ arrays,
+ Associative
+ containers, etc. This follows from an internal mechanism that deduces from
+ the container's type appropriate
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Data-generation. The rules are <a class="link" href="reference/interpreter.html#data_gen_rules">here</a>
+ </li>
+<li class="listitem">
+ Modifier. The rules are <a class="link" href="reference/interpreter.html#modifier_rules">here</a>.
+ </li>
+</ul></div>
+<a name="boost_assign.tut.options"></a><h4>
+<a name="id36334614"></a>
+ <a class="link" href="tut.html#boost_assign.tut.options">Options</a>
+ </h4>
+<p>
+ Either of the implementation components just mentioned can be overriden. Operator
+ <code class="computeroutput"><span class="special">%</span></code> is reserved for this kind of
+ task and can be composed. The relevant section is <a class="link" href="reference/option.html" title="Option">Option</a>.
+ </p>
+<p>
+ In addition to the <a class="link" href="reference/option.html" title="Option">standard
+ modifiers</a> such as <code class="computeroutput">_push_back</code>, the library caters to more
+ complex needs e.g.
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span> <span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">index</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">index</span> <span class="special"><</span> <span class="identifier">powers</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">index</span><span class="special">++,</span> <span class="identifier">value</span> <span class="special">*=</span><span class="number">10</span> <span class="special">)</span>
+<span class="special">{</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="identifier">index</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">value</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tut.custom_options"></a><h4>
+<a name="id36335095"></a>
+ <a class="link" href="tut.html#boost_assign.tut.custom_options">Custom options</a>
+ </h4>
+<p>
+ <a class="link" href="reference/option.html#option_modifier">Extending</a> the library with new modifiers
+ is fairly easy. We briefly summarize how:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Create a class template, called a <span class="emphasis"><em>tag</em></span>, that identifies
+ the new class of modifiers. The template parameter specifies a variable
+ aspect of the implementation.
+ </li>
+<li class="listitem">
+ Specialize a library declared <a class="link" href="reference/interpreter.html#interpreter_modifier">modifier</a>
+ on <span class="emphasis"><em>tag</em></span> to model a concept, with the desired semantics.
+ </li>
+<li class="listitem">
+ Register the above by expanding two macros taking as input the desired
+ option name and some meta-information.
+ </li>
+</ul></div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36332221" href="#id36332221" class="para">3</a>] </sup>
+ One exception is <code class="computeroutput"><span class="identifier">ptr_map</span><span class="special"><></span></code> whose implementation is pending
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36332547" href="#id36332547" class="para">4</a>] </sup>
+ <span class="emphasis"><em>csv</em></span> stands for comma separated values
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36332843" href="#id36332843" class="para">5</a>] </sup>
+ Also see <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Boost.Range
+ </a>'s version
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36333245" href="#id36333245" class="para">6</a>] </sup>
+ For consistency, there exists a functor form, <a class="link" href="reference/ref.html" title="Ref"><code class="computeroutput">ref::array</code></a>
+ but, since it is slow, we don't advertize it.
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="org.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="conv.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tutorial.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/tutorial.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,349 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Tutorial</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="headers.html" title="Headers">
+<link rel="next" href="include.html" title="Include">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="headers.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="include.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.tutorial"></a><a class="link" href="tutorial.html" title="Tutorial">Tutorial</a>
+</h2></div></div></div>
+<a name="boost_assign.tutorial.requisites"></a><h4>
+<a name="id36332037"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.requisites">Requisites</a>
+ </h4>
+<p>
+ As shown in section <a class="link" href="headers.html" title="Headers">Headers</a>,
+ we assume in this tutorial that all the header files are included, and, in
+ addition,
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+</pre>
+<p>
+ </p>
+<p>
+ Headers from other libraries will not be shown in the code snippets of this
+ tutorial, but they can be found in the tutorial's actual <a href="../../../tutorial.cpp" target="_top">source
+ file</a>.
+ </p>
+<a name="boost_assign.tutorial.assigning"></a><h4>
+<a name="id36332110"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.assigning">Assigning</a>
+ </h4>
+<p>
+ In the <a class="link" href="../index.html#boost_assign_v2.intro" title="Introduction">introduction</a>'s example
+ we encountered the operation which gives this library its name, assign-ment,
+ in this case, of an array's
+ elements. Throughout this library, we call <a class="link" href="../"><span class="emphasis"><em>interpreter</em></span>
+ the object returned by <a class="link" href="../"><code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code></a>.
+ In this example, it was invoked over one set of values (<code class="computeroutput"><span class="string">"+"</span></code>,
+ <code class="computeroutput"><span class="string">"-"</span></code>, etc.), each specified
+ individually, and another set passed as a range
+ with a special wrapper around it, <code class="computeroutput">as_arg_list<span class="special">(</span>
+ <span class="identifier">numeric</span> <span class="special">)</span></code>.
+ The wrapper tells the interpreter to process each of its elements as individual
+ arguments.</a>[link boost_assign_v2.reference.adapter <span class="emphasis"><em>interpreter</em></span>
+ the object returned by <a class="link" href="../"><code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code></a>.
+ In this example, it was invoked over one set of values (<code class="computeroutput"><span class="string">"+"</span></code>,
+ <code class="computeroutput"><span class="string">"-"</span></code>, etc.), each specified
+ individually, and another set passed as a range
+ with a special wrapper around it, <code class="computeroutput">as_arg_list<span class="special">(</span>
+ <span class="identifier">numeric</span> <span class="special">)</span></code>.
+ The wrapper tells the interpreter to process each of its elements as individual
+ arguments.
+ </p>
+<a name="boost_assign.tutorial.pointer_containers"></a><h4>
+<a name="id36332270"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.pointer_containers">Pointer-containers</a>
+ </h4>
+<p>
+ The same interface works similarly for pointer containers <sup>[<a name="id36332283" href="#ftn.id36332283" class="footnote">4</a>]</sup>:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span> <span class="identifier">ptr_set</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">assoc</span><span class="special">;</span>
+<span class="identifier">T</span> <span class="identifier">x</span> <span class="special">=</span> <span class="string">"isomer"</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="string">"ephemeral"</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="string">"prosaic"</span><span class="special">;</span>
+<span class="identifier">csv</span><span class="special">(</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">assoc</span> <span class="special">),</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">z</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">x</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">assoc</span><span class="special">.</span><span class="identifier">count</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.csv"></a><h4>
+<a name="id36332589"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.csv">Csv</a>
+ </h4>
+<p>
+ The call to <code class="computeroutput"><span class="identifier">csv</span></code> that just precedes
+ <sup>[<a name="id36332610" href="#ftn.id36332610" class="footnote">5</a>]</sup> is equivalent to <code class="computeroutput">put<span class="special">(</span> <span class="identifier">assoc</span> <span class="special">)(</span> <span class="identifier">x</span> <span class="special">)(</span> <span class="identifier">y</span>
+ <span class="special">)(</span> <span class="identifier">z</span> <span class="special">)</span></code>. Similarly, where <span class="emphasis"><em>csv</em></span>
+ is the prefix of a generating function's identifier, it indicates that a unary
+ functor, whose identifier is a namesake of the suffix, is evaluated successively
+ for each of the arguments. For example, container generating function <a class="link" href="../"><code class="computeroutput"><span class="identifier">csv_deque</span></code></a>
+ is paired to <a class="link" href="../"><code class="computeroutput">deque</code></a>,
+ and <a class="link" href="../"><code class="computeroutput">ref::csv_array</code></a>
+ is paired to <a class="link" href="../"><code class="computeroutput">ref::array</code></a>.
+ </p>
+<a name="boost_assign.tutorial.piping"></a><h4>
+<a name="id36332714"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.piping">Piping</a>
+ </h4>
+<p>
+ Here, we'd like to put a set of values in a container, and in the same statement,
+ pass it through a mutating algorithm:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">deque</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">cont</span><span class="special">;</span>
+<span class="identifier">range</span><span class="special">::</span><span class="identifier">stable_partition</span><span class="special">(</span> <span class="identifier">cont</span> <span class="special">|</span> <span class="identifier">_csv_put</span><span class="special">(</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span> <span class="special">),</span> <span class="identifier">_1</span> <span class="special">%</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ It is the vertical bar, <code class="computeroutput"><span class="special">|</span></code>, which
+ expresses the on-the-fly modification we were looking for. Such an expression
+ is referred to as <a class="link" href="../"><span class="emphasis"><em>piping</em></span></a>
+ throughout this library, after the related idiom
+ by the same name <sup>[<a name="id36332930" href="#ftn.id36332930" class="footnote">6</a>]</sup>. What it does is equivalent to invoking <code class="computeroutput"><span class="identifier">csv</span><span class="special">(</span> put<span class="special">(</span> cont <span class="special">),</span> <span class="number">0</span><span class="special">,</span>
+ <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span>
+ <span class="number">4</span><span class="special">,</span> <span class="number">5</span>
+ <span class="special">)</span></code> but, in addition, returns <code class="computeroutput">cont</code>.
+ </p>
+<a name="boost_assign.tutorial.container_generation"></a><h4>
+<a name="id36333165"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.container_generation">Container generation</a>
+ </h4>
+<p>
+ Having, in the same statement, assigned <code class="computeroutput"><span class="identifier">cont</span></code>
+ and passed it through a <a href="http://www.boost.org/doc/libs/1_46_0/libs/range/doc/html/range/reference/algorithms/mutating/stable_partition.html" target="_top">stable
+ partition algorithm</a>, let's verify that what was intended matches the
+ state of the container:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">cont</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.reference_arrays"></a><h4>
+<a name="id36333313"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.reference_arrays">Reference arrays</a>
+ </h4>
+<p>
+ There are two other container generating functions, <a class="link" href="../"><code class="computeroutput">ref::array</code></a>,
+ and <a class="link" href="../"><code class="computeroutput">ref::csv_array</code></a>.
+ The returned container is, more specifically, an array of reference wrappers,
+ which we designate as <span class="emphasis"><em>reference array</em></span> in this library.
+ In the example that precedes, either could be substituted for <code class="computeroutput">csv_deque</code>.
+ The reciprocal is not true, in general. A reference array is preferable if
+ the values are expensive to copy, and necessary for working specifically with
+ references, such as as follows:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">x</span> <span class="special">=</span> <span class="number">4</span><span class="special">,</span> <span class="identifier">y</span> <span class="special">=</span> <span class="number">6</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span>
+<span class="keyword">int</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">max</span> <span class="special">=</span> <span class="special">*</span><span class="identifier">max_element</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">y</span><span class="special">,</span> <span class="identifier">z</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="special">&</span><span class="identifier">max</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">y</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.chaining"></a><h4>
+<a name="id36333557"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.chaining">Chaining</a>
+ </h4>
+<p>
+ Chaining ranges is already provided as join
in Boost.
+ Here's a variant that caters in special way to reference arrays:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span cla
ss="identifier">i</span><span class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> <span class="identifier">consecutive5</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">,</span> <span class="identifier">csv_deque</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">,</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">seven</span> <span class="special">==</span> <span class="number">7</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The odd thing to notice is that this algorithm modifies <code class="computeroutput"><span class="identifier">six</span></code>,
+ <code class="computeroutput"><span class="identifier">seven</span></code> and <code class="computeroutput"><span class="identifier">eight</span></code>
+ even though the array returned by <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span></code>
+ is an rvalue. The keyword <code class="computeroutput"><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span></code> is
+ necessary in conjunction with a reference array whose references are to be
+ modified (in read mode, instead, implicit conversion takes care of it).
+ </p>
+<a name="boost_assign.tutorial.conversion"></a><h4>
+<a name="id36334207"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.conversion">Conversion</a>
+ </h4>
+<p>
+ Even a not so standard container, such as a <a href="http://flylib.com/books/en/2.674.1.106/1/" target="_top">container
+ adapter</a>, can be copy constructed from a container of the same type.
+ Combining a container generating function with a conversion tool gives us the
+ recipe, therefore, for initializing such (and more versatile) containers:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">queue</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">fifo</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span> <span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span> <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">fifo</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ The conversion, here, is implicit, and is made possible by a conversion operator
+ fitted to the object returned by <code class="computeroutput">converter</code>. See the relevant
+ <a class="link" href="../">section</a>
+ about explicit conversion.
+ </p>
+<a name="boost_assign.tutorial.data_member_generation"></a><h4>
+<a name="id36334423"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.data_member_generation">Data-member generation</a>
+ </h4>
+<p>
+ The capabalities of <code class="computeroutput">put</code> and <code class="computeroutput">deque</code> vs their csv counterparts
+ become apparent when we need to forward arguments to the <code class="computeroutput">cont</code>'s
+ value-type. For example,
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">map</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">map</span><span class="special">;</span>
+<span class="identifier">put</span><span class="special">(</span> <span class="identifier">map</span> <span class="special">)(</span> <span class="string">"foo"</span><span class="special">,</span> <span class="number">1</span> <span class="special">)(</span> <span class="string">"bar"</span><span class="special">,</span> <span class="number">2</span> <span class="special">)(</span> <span class="string">"baz"</span><span class="special">,</span> <span class="number">3</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">map</span><span class="special">[</span><span class="string">"bar"</span><span class="special">]</span> <span class="special">=</span> <span class="number">2</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.automatic_deduction"></a><h4>
+<a name="id36334632"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.automatic_deduction">Automatic deduction</a>
+ </h4>
+<p>
+ We have seen that <code class="computeroutput">put</code> was applied to different containers, whether
+ arrays,
+ Associative
+ containers, etc. This follows from an internal mechanism that deduces from
+ the container's type appropriate
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Data-generation
+ </li>
+<li class="listitem">
+ Modifier
+ </li>
+</ul></div>
+<a name="boost_assign.tutorial.optional"></a><h4>
+<a name="id36334684"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.optional">Optional</a>
+ </h4>
+<p>
+ Either of the implementation components just mentioned can be overriden. Operator
+ <code class="computeroutput"><span class="special">%</span></code> is reserved for this kind of
+ task and can be composed. The relevant section is <a class="link" href="../">Optional</a>.
+ </p>
+<p>
+ In addition to the <a class="link" href="../">standard
+ modifiers</a> such as <a class="link" href="../"><code class="computeroutput">_push_back</code></a>,
+ the library caters to more complex needs e.g.
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+ <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">4</span><span class="special">></span> <span class="identifier">powers</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span> <span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">10</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">lambda</span><span class="special">;</span>
+<span class="special">(</span> <span class="identifier">put</span><span class="special">(</span> <span class="identifier">powers</span> <span class="special">)</span> <span class="special">%</span> <span class="special">(</span> <span class="identifier">_iterate</span> <span class="special">=</span> <span class="identifier">var</span><span class="special">(</span> <span class="identifier">index</span> <span class="special">)++</span> <span class="special">)</span> <span class="special">)(</span> <span class="number">100</span> <span class="special">)(</span> <span class="number">1000</span> <span class="special">);</span>
+
+ <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">index</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">index</span> <span class="special"><</span> <span class="identifier">powers</span><span class="special">.</span><span class="identifier">size</span><span class="special">();</span> <span class="identifier">index</span><span class="special">++,</span> <span class="identifier">value</span> <span class="special">*=</span><span class="number">10</span> <span class="special">)</span>
+ <span class="special">{</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">powers</span><span class="special">[</span><span class="identifier">index</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">value</span> <span class="special">);</span>
+ <span class="special">}</span>
+ </pre>
+<p>
+ </p>
+<a name="boost_assign.tutorial.custom_options"></a><h4>
+<a name="id36335169"></a>
+ <a class="link" href="tutorial.html#boost_assign.tutorial.custom_options">Custom options</a>
+ </h4>
+<p>
+ <a class="link" href="../">Extending</a>
+ the library with new modifiers is fairly easy. We briefly summarize how:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ Create a class template, called a <span class="emphasis"><em>tag</em></span>, that identifies
+ the new class of modifiers. The template parameter specifies a variable
+ aspect of the implementation.
+ </li>
+<li class="listitem">
+ Specialize a particular <a class="link" href="../">class
+ template</a> on <span class="emphasis"><em>tag</em></span>, with the desired implementation,
+ within the constraints of a concept.
+ </li>
+<li class="listitem">
+ Tell the library to register the above by expanding two macros taking as
+ input the desired parameter name and some meta-information.
+ </li>
+</ul></div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36332283" href="#id36332283" class="para">4</a>] </sup>
+ One exception is <code class="computeroutput"><span class="identifier">ptr_map</span><span class="special"><></span></code> whose implementation is pending
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36332610" href="#id36332610" class="para">5</a>] </sup>
+ <span class="emphasis"><em>csv</em></span> stands for comma separated values
+ </p></div>
+<div class="footnote"><p><sup>[<a name="ftn.id36332930" href="#id36332930" class="para">6</a>] </sup>
+ Also see <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Boost.Range
+ </a>'s version
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="headers.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="include.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,235 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Utility</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="ref/get.html" title="_get">
+<link rel="next" href="util/chain.html" title="_chain">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/get.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="util/chain.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.util"></a><a class="link" href="util.html" title="Utility">Utility</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">converter
</span></dt>
+<dt><span class="section">_chain
</span></dt>
+<dd><dl>
+<dt><span class="section">operator|()
</span></dt>
+<dt><span class="section">operator&&()
</span></dt>
+</dl></dd>
+<dt><span class="section">sub_range
</span></dt>
+</dl></div>
+<a name="boost_assign_v2.util.header"></a><h4>
+<a name="id36343601"></a>
+ <a class="link" href="util.html#boost_assign_v2.util.header">Header</a>
+ </h4>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.util.convert"></a><a class="link" href="util.html#boost_assign_v2.util.convert" title="converter"><code class="computeroutput">converter</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.util.convert.header"></a><h5>
+<a name="id36343664"></a>
+ <a class="link" href="util.html#boost_assign_v2.util.convert.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/convert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.util.convert.synopsis"></a><h5>
+<a name="id36343710"></a>
+ <a class="link" href="util.html#boost_assign_v2.util.convert.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">Cont cont <span class="special">=</span> converter<span class="special">(</span> r <span class="special">);</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Copy constructs <code class="computeroutput">cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to <code class="computeroutput">converter<span class="special">(</span> r
+ <span class="special">).</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">converter<span class="special">(</span> r <span class="special">).</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">>();</span>
+</pre>
+<p>
+ </p>
+ </td>
+<td>
+ <p>
+ Returns an object of type <code class="computeroutput">Cont</code>
+ </p>
+ </td>
+<td>
+ <p>
+ See rules.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.util.convert.rules"></a><h5>
+<a name="id36343909"></a>
+ <a class="link" href="util.html#boost_assign_v2.util.convert.rules">Rules</a>
+ </h5>
+<p>
+ The rules of conversion are a kind of switch statement, whose (only two)
+ cases and the corresponding implementation are given below:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Condition
+ </p>
+ </th>
+<th>
+ <p>
+ Implementation
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">Cont</code> is an adapter
+ or boost_array<>
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">type</span><span class="special"><</span>Cont<span class="special">></span> <span class="special">|</span> <a class="link" href="put/pipe.html#boost_assign_v2.put.pipe.range" title="put_range">put_range</a><span class="special">(</span> r <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ True.
+ </p>
+ </td>
+<td>
+ <p>
+
+</p>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">Cont<span class="special">(</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">end</span><span class="special">(</span> r <span class="special">)</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.util.convert.example"></a><h5>
+<a name="id36344138"></a>
+ <a class="link" href="util.html#boost_assign_v2.util.convert.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;<
/span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">stack</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">lifo</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">lifo</span><span class="special">.</span><span class="identifier">top</span><span class="special">()</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">99</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;
</span>
+<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">).</span><span class="identifier">type</span><span class="special"><</span><span class="identifier">ar_</span><span class="special">>()</span> <span class="special">)[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">99</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/get.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="util/chain.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/chain.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/chain.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,219 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>_chain</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../util.html" title="Utility">
+<link rel="prev" href="../util.html" title="Utility">
+<link rel="next" href="sub_range.html" title="sub_range">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../util.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../util.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sub_range.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.util.chain"></a><a class="link" href="chain.html" title="_chain"><code class="computeroutput">_chain</code></a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">operator|()
</span></dt>
+<dt><span class="section">operator&&()
</span></dt>
+</dl></div>
+<a name="boost_assign_v2.util.chain.header"></a><h5>
+<a name="id36344732"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.util.chain.pipe"></a><a class="link" href="chain.html#boost_assign_v2.util.chain.pipe" title="operator|()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">|()</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.util.chain.pipe.header"></a><h6>
+<a name="id36344802"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.pipe.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain/pipe.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.util.chain.pipe.description"></a><h6>
+<a name="id36344848"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.pipe.description">Description</a>
+ </h6>
+<p>
+ <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/adaptors.html" target="_top">Range
+ adaptor</a> <code class="computeroutput"><span class="identifier">_chain</span></code>
+ is a variant of join()
+ that has the special property that it is lvalue-preserving : the reference
+ of an rvalue <a class="link" href="../ref.html" title="Ref">reference-array</a>
+ (constructed in place) that holds lvalues is treated as an lvalue.
+ </p>
+<a name="boost_assign_v2.util.chain.pipe.synopsis"></a><h6>
+<a name="id36344899"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.pipe.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">|</span> _chain<span class="special">(</span>
+ r2 <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span>R1<span class="special">,</span>R2<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.util.chain.short"></a><a class="link" href="chain.html#boost_assign_v2.util.chain.short" title="operator&&()"><code class="computeroutput"><span class="keyword">operator</span><span class="special">&&()</span></code></a>
+</h4></div></div></div>
+<a name="boost_assign_v2.util.chain.short.header"></a><h6>
+<a name="id36345051"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.short.header">header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain/short.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<div class="note"><table border="0" summary="Note">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
+<th align="left">Note</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ This header has to be explicitly included
+ </p></td></tr>
+</table></div>
+<a name="boost_assign_v2.util.chain.short.synopsis"></a><h6>
+<a name="id36345103"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.short.synopsis">Synopsis</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">&&</span> r2 </code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">r1 <span class="special">|</span> _chain<span class="special">(</span>
+ r2 <span class="special">)</span> </code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<a name="boost_assign_v2.util.chain.example"></a><h5>
+<a name="id36345205"></a>
+ <a class="link" href="chain.html#boost_assign_v2.util.chain.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">list</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">(</span> <span class="number">2</span> <span class="special">);</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="identifier">vec</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">list</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">vec</span> <span class="special">),</span>
+ <span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">bl</span><span class="special">::</span><span class="identifier">_1</span> <span class="special"><<</span> <span class="char">' '</span>
+<span class="special">);</span> <span class="comment">// outputs 0, 1, 2, 3, 4
+</span></pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;<
/span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">ar</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">z</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">v</span><span class="special">,</span>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">ar</span> <span class="comment">/* lvalue */</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span>
+ <span class="identifier">z</span> <span class="comment">/* lvalue */</span>
+ <span class="special">)</span> <span class="comment">/* rvalue */</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span>
+ <span class="special">)</span>
+ <span class="special">)</span>
+<span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="special">-</span><span class="number">1</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="number">0</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">z</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../util.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../util.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sub_range.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/sub_range.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/util/sub_range.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,117 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>sub_range</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../util.html" title="Utility">
+<link rel="prev" href="chain.html" title="_chain">
+<link rel="next" href="../apx.html" title="Appendix">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../util.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.util.sub_range"></a><a class="link" href="sub_range.html" title="sub_range"><code class="computeroutput">sub_range</code></a>
+</h3></div></div></div>
+<a name="boost_assign_v2.util.sub_range.header"></a><h5>
+<a name="id36346161"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.util.sub_range.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/sub_range.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.util.sub_range.description"></a><h5>
+<a name="id36346208"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.util.sub_range.description">Description</a>
+ </h5>
+<p>
+ Fits a container with some functionality such as relational operators, or
+ <code class="computeroutput"><span class="keyword">operator</span><span class="special"><<</span></code>.
+ </p>
+<a name="boost_assign_v2.util.sub_range.synopsis"></a><h5>
+<a name="id36346244"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.util.sub_range.synopsis">Synopsis</a>
+ </h5>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Result type
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput">sub_range<span class="special">(</span> cont <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ boost::iterator_range<>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.util.sub_range.example"></a><h5>
+<a name="id36346353"></a>
+ <a class="link" href="sub_range.html#boost_assign_v2.util.sub_range.example">Example</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span>
+ <span class="identifier">assert</span><span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">)</span> <span class="special"><</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="special">-</span><span class="number">1</span><span class="special">,</span> <span class="number">0</span><span class="special">,</span> <span class="number">1</span> <span class="special">)</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">sub_range</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="string">"x"</span><span class="special">,</span> <span class="string">"y"</span><span class="special">,</span> <span class="string">"z"</span> <span class="special">)</span>
+<span class="special">);</span> <span class="comment">//outputs xyz
+</span></pre>
+<p>
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="chain.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../util.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../apx.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,419 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Utility</title>
+<link rel="stylesheet" href="../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="prev" href="ref/array.html" title="Array">
+<link rel="next" href="utility/conversion.html" title="Conversion">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="utility/conversion.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.utility"></a><a class="link" href="utility.html" title="Utility">Utility</a>
+</h2></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Chain</span></dt>
+<dt><span class="section">Conversion</span></dt>
+<dd><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></dd>
+<dt><span class="section">Csv</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.utility.chain"></a><a class="link" href="utility.html#boost_assign_v2.utility.chain" title="Chain">Chain</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.utility.chain.header"></a><h5>
+<a name="id36371922"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.chain.description"></a><h5>
+<a name="id36371968"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.description">Description</a>
+ </h5>
+<p>
+ A variant of join()
+ that caters to <a class="link" href="ref/array.html" title="Array">reference arrays</a>
+ </p>
+<a name="boost_assign_v2.utility.chain.syntax"></a><h5>
+<a name="id36372003"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.syntax">Syntax</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">chain_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <span class="identifier">use_default</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">use_const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag1</span> <span class="special">=</span> <span class="identifier">use_default</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag2</span> <span class="special">=</span> <span class="identifier">void_</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">adaptor2</span>
+ <span class="special">{</span>
+
+ <span class="identifier">adaptor2</span><span class="special">();</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">result</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">chain_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">chain</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+<span class="special">}</span>
+ <span class="keyword">const</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor2</span><span class="special"><></span> <span class="identifier">_chain</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.chain.meta"></a><h5>
+<a name="id36372992"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.meta">Meta</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Requirements</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Parameter
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R1</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">U1</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">T</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">remove_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">U2</span></code></span></dt>
+<dd><p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">not</code> <code class="computeroutput"><span class="identifier">is_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">!</span><span class="identifier">is_const</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">(</span><span class="identifier">U2</span>
+ <span class="special">==</span> <span class="identifier">U1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">is_const</span><span class="special"><</span>
+ <span class="identifier">range_value</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span> <span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Comment</strong></span>
+ </p>
+<p>
+ This meta-function becomes relevant if either of <code class="computeroutput"><span class="identifier">r1</span></code>
+ or <code class="computeroutput"><span class="identifier">r2</span></code> is a <a class="link" href="ref/array.html" title="Array">reference
+ array</a>: altghouh these are usually constructed in place (rvalues),
+ they may bind to lvalues. Use-const knows not to throw away lvalue-ness,
+ in that case, i.e. returns false.
+ </p>
+<a name="boost_assign_v2.utility.chain.range"></a><h5>
+<a name="id36373634"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.range">Range</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">chained</span></code></span></dt>
+<dd><p>
+ result of <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span>
+ _chain<span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special">+</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">chained</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special"><</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">?</span>
+ <span class="identifier">i</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r1</span> <span class="special">)</span>
+ <span class="special">:</span> <span class="identifier">i</span>
+ <span class="special">-</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r2</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.chain.alternative_invocation"></a><h5>
+<a name="id36373961"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.alternative_invocation">Alternative
+ invocation</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Header</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain/operator_and.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ This header is optional (because it overloads <code class="computeroutput"><span class="identifier">opearator</span><span class="special">&&</span></code>, which some may prefer not to)
+ i.e. is it not included in boost/assign/v2/utility/chain.hpp.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">r1</span> <span class="special">&&</span>
+ <span class="identifier">r2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.chain.example"></a><h5>
+<a name="id36374140"></a>
+ <a class="link" href="utility.html#boost_assign_v2.utility.chain.example">Example</a>
+ </h5>
+<a name="ex_utility_chain"></a><p>
+ <span class="bold"><strong>Example 1</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"A"</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"B"</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">tail</span><span class="special">;</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"C"</span> <span class="special">);</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"D"</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">joined</span><span class="special">;</span> <span class="identifier">copy</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">),</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_inserter</span><span class="special">(</span> <span class="identifier">joined</span> <span class="special">)</span> <span class="special">);</span>
+
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">joined</span><span class="special">,</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special"><</span><span class="identifier">T</span><span class="special">>(</span><span class="string">"A"</span><span class="special">,</span> <span class="string">"B"</span><span class="special">,</span> <span class="string">"C"</span><span class="special">,</span> <span class="string">"D"</span><span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 2</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">word</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">words</span><span class="special">(</span> <span class="number">6</span> <span class="special">);</span>
+ <span class="identifier">words</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"foo"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"bar"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="string">"baz"</span><span class="special">;</span>
+ <span class="identifier">words</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="string">"qux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">=</span> <span class="string">"quux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">5</span><span class="special">]</span> <span class="special">=</span> <span class="string">"grault"</span><span class="special">;</span>
+ <span class="identifier">array</span><span class="special"><</span><span class="identifier">word</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">tail</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span>
+ <span class="identifier">copy</span><span class="special">(</span> <span class="identifier">words</span><span class="special">,</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">head</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="string">"foo"</span> <span class="special">);</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">head</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="string">"baz"</span> <span class="special">);</span>
+<span class="comment">// BOOST_ASSIGN_V2_CHECK( tail.front() == "qux" );
+</span><span class="comment">// BOOST_ASSIGN_V2_CHECK( tail.back() == "grault" );
+</span> </pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Example 3</strong></span> [test_utility_chain_write_refs]
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="ref/array.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="utility/conversion.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/chain.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/chain.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,493 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Chain</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../utility.html" title="Utility">
+<link rel="prev" href="../utility.html" title="Utility">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.utility.chain"></a><a class="link" href="chain.html" title="Chain">Chain</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.utility.chain.header"></a><h5>
+<a name="id36372358"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.chain.description"></a><h5>
+<a name="id36372405"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.description">Description</a>
+ </h5>
+<p>
+ A variant of join()
+ that caters to <a class="link" href="../ref/array.html" title="Array">reference arrays</a>
+ </p>
+<a name="boost_assign_v2.utility.chain.syntax"></a><h5>
+<a name="id36372439"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.syntax">Syntax</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">chain_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <span class="identifier">use_default</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">use_const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Tag1</span> <span class="special">=</span> <span class="identifier">use_default</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag2</span> <span class="special">=</span> <span class="identifier">void_</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">adaptor2</span>
+ <span class="special">{</span>
+
+ <span class="identifier">adaptor2</span><span class="special">();</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">result</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span> <span class="keyword">typename</span> <span class="identifier">result</span><span class="special"><</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">)</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">U2</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">result</span><span class="special"><</span><span class="identifier">R1</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="keyword">operator</span><span class="special">|(</span><span class="identifier">R1</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">r1</span><span class="special">,</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor1</span><span class="special"><</span><span class="identifier">U2</span><span class="special">,</span> <span class="identifier">Tag</span><span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">h</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">chain_aux</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R2</span><span class="special">></span> <span class="keyword">struct</span> <span class="identifier">chain</span><span class="special">{</span>
+
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+<span class="special">}</span>
+ <span class="keyword">const</span> <span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">adaptor2</span><span class="special"><></span> <span class="identifier">_chain</span><span class="special">;</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.chain.meta"></a><h5>
+<a name="id36373428"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.meta">Meta</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Requirements</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Parameter
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R1</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">R2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Models range
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">U1</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">T</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">remove_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">U2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">range_reference</span><span class="special"><</span><span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="literal">not</code> <code class="computeroutput"><span class="identifier">is_reference</span><span class="special"><</span><span class="identifier">U1</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">!</span><span class="identifier">is_const</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span></code>
+ && <code class="computeroutput"><span class="special">(</span><span class="identifier">U2</span>
+ <span class="special">==</span> <span class="identifier">U1</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">is_const</span><span class="special"><</span>
+ <span class="identifier">range_value</span><span class="special"><</span>
+ <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">chain</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span> <span class="special">></span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chain_aux</span><span class="special">::</span><span class="identifier">use_const</span><span class="special"><</span><span class="identifier">R1</span><span class="special">,</span>
+ <span class="identifier">R2</span><span class="special">>::</span><span class="identifier">value</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Comment</strong></span>
+ </p>
+<p>
+ This meta-function becomes relevant if either of <code class="computeroutput"><span class="identifier">r1</span></code>
+ or <code class="computeroutput"><span class="identifier">r2</span></code> is a <a class="link" href="../ref/array.html" title="Array">reference
+ array</a>: altghouh these are usually constructed in place (rvalues),
+ they may bind to lvalues. Use-const knows not to throw away lvalue-ness,
+ in that case, i.e. returns false.
+ </p>
+<a name="boost_assign_v2.utility.chain.range"></a><h5>
+<a name="id36374114"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.range">Range</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">chained</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ result of <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span>
+ _chain<span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special">+</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">chained</span>
+ <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="special">*(</span> <span class="identifier">i</span>
+ <span class="special"><</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">?</span>
+ <span class="identifier">i</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r1</span> <span class="special">)</span>
+ <span class="special">:</span> <span class="identifier">i</span>
+ <span class="special">-</span> <span class="identifier">size</span><span class="special">(</span> <span class="identifier">r1</span>
+ <span class="special">)</span> <span class="special">+</span>
+ <span class="identifier">begin</span><span class="special">(</span>
+ <span class="identifier">r2</span> <span class="special">)</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.chain.alternative_invocation"></a><h5>
+<a name="id36374474"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.alternative_invocation">Alternative
+ invocation</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Header</strong></span>
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/chain/operator_and.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<p>
+ This header is optional (because it overloads <code class="computeroutput"><span class="identifier">opearator</span><span class="special">&&</span></code>, which some may prefer not to)
+ i.e. is it not included in boost/assign/v2/utility/chain.hpp.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">r1</span> <span class="special">&&</span>
+ <span class="identifier">r2</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput"><span class="identifier">r1</span> <span class="special">|</span> <span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">r2</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.chain.example"></a><h5>
+<a name="id36374654"></a>
+ <a class="link" href="chain.html#boost_assign_v2.utility.chain.example">Example</a>
+ </h5>
+<a name="ex_utility_chain"></a><p>
+ <span class="bold"><strong>Read</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">T</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"A"</span><span class="special">;</span> <span class="identifier">head</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"B"</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">tail</span><span class="special">;</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"C"</span> <span class="special">);</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">push_back</span><span class="special">(</span> <span class="string">"D"</span> <span class="special">);</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">joined</span><span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">),</span> <span class="identifier">end</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">)</span> <span class="special">);</span> <span class="identifier">copy</span><span class="special">(</span> <span class="identifier">tail</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">back_inserter</span><span class="special">(</span> <span class="identifier">joined</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="identifier">range</span><span class="special">::</span><span class="identifier">equal</span><span class="special">(</span> <span class="identifier">joined</span><span class="special">,</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Write</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">word</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">words</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="string">"foo"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="string">"bar"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="string">"baz"</span><span class="special">;</span>
+<span class="identifier">words</span><span class="special">[</span><span class="number">3</span><span class="special">]</span> <span class="special">=</span> <span class="string">"qux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">4</span><span class="special">]</span> <span class="special">=</span> <span class="string">"quux"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">5</span><span class="special">]</span> <span class="special">=</span> <span class="string">"grault"</span><span class="special">;</span> <span class="identifier">words</span><span class="special">[</span><span class="number">6</span><span class="special">]</span> <span class="special">=</span> <span class="string">"garply"</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">word</span><span class="special">,</span> <span class="number">2</span><span class="special">></span> <span class="identifier">head</span><span class="special">;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span><span class="special"><</span><span class="identifier">word</span><span class="special">></span> <span class="identifier">tail</span><span class="special">(</span> <span class="number">4</span> <span class="special">);</span>
+<span class="identifier">copy</span><span class="special">(</span> <span class="identifier">words</span><span class="special">,</span> <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">head</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_chain</span><span class="special">(</span> <span class="identifier">tail</span> <span class="special">)</span> <span class="special">)</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">head</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">==</span> <span class="string">"foo"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">head</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="string">"baz"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="string">"qux"</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">tail</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="string">"garply"</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Write-to-refs</strong></span>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><a class="co" name="boost_assign_v261co" href="chain.html#boost_assign_v261"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">assign</span><span class="special">::</span><span class="identifier">v2</span><span class="special">;</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">consecutive8</span><span class="special">(</span> <span class="number">8</span> <span class="special">);</span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">8</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++){</span> <span class="identifier">consecutive8</span><span class="special">[</span><span class="identifier">i</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span> <span class="special">+</span> <span class="identifier">i</span><spa
n class="special">;</span> <span class="special">}</span>
+<span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">5</span><span class="special">></span> <span class="identifier">consecutive5</span><span class="special">;</span> <span class="keyword">int</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span><span class="special">;</span>
+<span class="identifier">boost</span><span class="special">::</span><span class="identifier">copy</span><span class="special">(</span>
+ <span class="identifier">consecutive8</span><span class="special">,</span>
+ <span class="identifier">begin</span><span class="special">(</span> <span class="identifier">consecutive5</span> <span class="special">&&</span> <span class="special">(</span><a class="co" name="boost_assign_v262co" href="chain.html#boost_assign_v262"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="identifier">six</span><span class="special">,</span> <span class="identifier">seven</span><span class="special">,</span> <span class="identifier">eight</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">_get</span> <span class="special">)</span> <span class="special">)</span>
+<span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">consecutive5</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">5</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">six</span> <span class="special">==</span> <span class="number">6</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">eight</span> <span class="special">==</span> <span class="number">8</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v261"></a> </p></td>
+<td valign="top" align="left"><p>
+ Needed to bring && into scope
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v262"></a> </p></td>
+<td valign="top" align="left"><p>
+ rvalue!
+ </p></td>
+</tr>
+</table></div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/conversion.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/conversion.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,430 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Conversion</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../utility.html" title="Utility">
+<link rel="prev" href="../utility.html" title="Utility">
+<link rel="next" href="csv.html" title="Csv">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.utility.conversion"></a><a class="link" href="conversion.html" title="Conversion">Conversion</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.utility.conversion.convert"></a><a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert" title="Convert">Convert</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.utility.conversion.convert.header"></a><h6>
+<a name="id36375212"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/conversion/convert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.conversion.convert.description"></a><h6>
+<a name="id36375259"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert.description">Description</a>
+ </h6>
+<p>
+ Function converting a range to a container
+ </p>
+<a name="boost_assign_v2.utility.conversion.convert.syntax"></a><h6>
+<a name="id36375282"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_tag</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{};</span>
+ <span class="keyword">struct</span> <span class="identifier">copy</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">convert_tag</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="identifier">convert</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert_adapter</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="keyword">operator</span><span class="special">|(</span> <span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+<span class="keyword">using</span> <span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">convert</span><span class="special">;</span>
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="co" name="boost_assign_v257co" href="conversion.html#boost_assign_v257"><img src="../../../../doc/src/images/callouts/1.png" alt="1" border="0"></a><span class="identifier">C</span><span class="special">,</span> <span class="keyword">typename</span> <a class="co" name="boost_assign_v258co" href="conversion.html#boost_assign_v258"><img src="../../../../doc/src/images/callouts/2.png" alt="2" border="0"></a><span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">convert</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+<span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">convert_adapter</span><span class="special"><</span><span class="identifier">C</span><span class="special">></span> <span class="identifier">_convert</span><span class="special">();</span>
+
+</pre>
+<p>
+ </p>
+<div class="calloutlist"><table border="0" summary="Callout list">
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v257"></a> </p></td>
+<td valign="top" align="left"><p>
+ Container
+ </p></td>
+</tr>
+<tr>
+<td width="5%" valign="top" align="left"><p><a name="boost_assign_v258"></a> </p></td>
+<td valign="top" align="left"><p>
+ Range
+ </p></td>
+</tr>
+</table></div>
+<a name="boost_assign_v2.utility.conversion.convert.semantics"></a><h6>
+<a name="id36375794"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r<span class="special">,</span> <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span><span class="special">()</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C cont<span class="special">;</span> <span class="identifier">put</span><span class="special">(</span> cont <span class="special">)(</span>
+ as_arg_list<span class="special">(</span> r <span class="special">)</span>
+ <span class="special">)</span></code> and returns <code class="computeroutput">cont</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r<span class="special">,</span> <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">()</span> <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">C<span class="special">(</span> <span class="identifier">begin</span><span class="special">(</span> r <span class="special">),</span>
+ <span class="identifier">end</span><span class="special">(</span>
+ r <span class="special">)</span> <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r <span class="special">,</span> <span class="identifier">tag</span>
+ <span class="special">)</span></code>, where <code class="computeroutput"><span class="identifier">tag</span> <span class="special">=</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span></code> if <code class="computeroutput">C</code> is either
+ an array
+ or an adapter,
+ <code class="computeroutput"><span class="identifier">tag</span> <span class="special">=</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span></code> otherwise.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _convert<span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.utility.conversion.convert.example"></a><h6>
+<a name="id36376269"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.convert.example">Example</a>
+ </h6>
+<a name="ex_utility_conversion_convert"></a><p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">r</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">r</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">72</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">31</span><span class="special">;</span> <span class="identifier">r</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">48</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span> <span class="identifier">ar_</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">ar</span> <span class="special">=</span> <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">csv_deque</span><span class="special">(</span> <span class="number">72</span><span class="special">,</span> <span class="number">31</span><span class="special">,</span> <span class="number">48</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">ar_<
/span><span class="special">>()</span> <span class="special">);</span>
+
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">==</span> <span class="number">72</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">ar</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">==</span> <span class="number">48</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.utility.conversion.converter"></a><a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter" title="Converter">Converter</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.utility.conversion.converter.header"></a><h6>
+<a name="id36376700"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/conversion/converter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.conversion.converter.description"></a><h6>
+<a name="id36376882"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter.description">Description</a>
+ </h6>
+<p>
+ Wraps a range with container-convertibility
+ </p>
+<a name="boost_assign_v2.utility.conversion.converter.syntax"></a><h6>
+<a name="id36376905"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">conversion_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">converter</span>
+ <span class="special">{</span>
+
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">explicit</span> <span class="identifier">converter</span><span class="special">(</span><span class="keyword">typename</span> <span class="identifier">call_traits</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">param_type</span> <span class="identifier">r</span><span class="special">);</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="keyword">operator</span> <span class="identifier">C</span> <span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">C</span><span class="special">></span>
+ <span class="identifier">C</span> <span class="identifier">type</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+ <span class="keyword">struct</span> <span class="identifier">converter_adapter</span><span class="special">;</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="identifier">converter</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span> <span class="keyword">operator</span><span class="special">|(</span> <span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">converter_adapter</span> <span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">conversion_aux</span>
+
+ <span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">converter_adapter</span> <span class="keyword">const</span> <span class="identifier">_converter</span><span class="special">;</span>
+
+<span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">converter</span><span class="special">;</span>
+
+<span class="special">}//</span><span class="identifier">result_of</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+ <span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+ <span class="identifier">converter</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.conversion.converter.semantics"></a><h6>
+<a name="id36377440"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput"><span class="identifier">c</span></code></span></dt>
+<dd><p>
+ Instance of <code class="computeroutput">converter<span class="special">(</span> r <span class="special">)</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Converter</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Calls <code class="computeroutput">convert<span class="special"><</span>C<span class="special">>(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> <span class="identifier">c</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">C cont <span class="special">=</span>
+ <span class="identifier">c</span><span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Invocation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">converter<span class="special">(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">conversion_aux</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span>R<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r <span class="special">|</span> _converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Equivalent to <code class="computeroutput">converter<span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.utility.conversion.converter.example"></a><h6>
+<a name="id36377825"></a>
+ <a class="link" href="conversion.html#boost_assign_v2.utility.conversion.converter.example">Example</a>
+ </h6>
+<a name="ex_utility_conversion_converter"></a><p>
+
+</p>
+<pre class="programlisting"><span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">sz</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">row_</span><span class="special">;</span>
+<span class="identifier">array</span><span class="special"><</span><span class="identifier">row_</span><span class="special">,</span> <span class="identifier">sz</span><span class="special">></span> <span class="identifier">matrix3x3</span> <span class="special">=</span> <span class="identifier">converter</span><span class="special">(</span>
+ <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">array</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">4</span><span class="special">,</span> <span class="number">5</span><span class="special">,</span> <span class="number">6</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">ref</span><span class="special">::</span><span class="identifier">csv_array</span><span class="special">(</span> <span class="number">7</span><span class="special">,</span> <span class="number">8</span><span class="special">,</span> <span class="number">9</span> <span class="special">)</span> <span class="special">|</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">_convert</span><span class="special"><</span><span class="identifier">row_</span><span class="special">>()</span> <span class="special">)</span>
+<span class="special">);</span>
+<span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special"><</span> <span class="number">9</span><span class="special">;</span> <span class="identifier">i</span><span class="special">++)</span>
+<span class="special">{</span>
+ <span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">matrix3x3</span><span class="special">[</span> <span class="identifier">i</span> <span class="special">/</span> <span class="number">3</span> <span class="special">][</span> <span class="identifier">i</span> <span class="special">%</span> <span class="number">3</span> <span class="special">]</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">+</span> <span class="number">1</span> <span class="special">);</span>
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/convert.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/convert.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,631 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Convert</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../utility.html" title="Utility">
+<link rel="prev" href="../utility.html" title="Utility">
+<link rel="next" href="csv.html" title="Csv">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.utility.convert"></a><a class="link" href="convert.html" title="Convert">Convert</a>
+</h3></div></div></div>
+<div class="toc"><dl>
+<dt><span class="section"><a href="convert.html#boost_assign_v2.utility.convert.deduce_tag">Deduce
+ tag</a></span></dt>
+<dt><span class="section">Dispatch</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></div>
+<a name="boost_assign_v2.utility.convert.header"></a><h5>
+<a name="id36363894"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/convert.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.description"></a><h5>
+<a name="id36363940"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.description">Description</a>
+ </h5>
+<p>
+ A container-conversion facility
+ </p>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.utility.convert.deduce_tag"></a><a class="link" href="convert.html#boost_assign_v2.utility.convert.deduce_tag" title="Deduce tag">Deduce
+ tag</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.utility.convert.deduce_tag.header"></a><h6>
+<a name="id36363976"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.deduce_tag.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/convert/deduce_tag.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.deduce_tag.syntax"></a><h6>
+<a name="id36364023"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.deduce_tag.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_tag</span><span class="special">{</span>
+
+ <span class="keyword">struct</span> <span class="identifier">put</span><span class="special">{};</span>
+ <span class="keyword">struct</span> <span class="identifier">copy</span><span class="special">{};</span>
+
+<span class="special">}//</span> <span class="identifier">convert_tag</span>
+<span class="keyword">namespace</span> <span class="identifier">convert_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">,</span> <span class="keyword">typename</span> R<span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">deduce_tag</span>
+ <span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Parameters</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Parameter
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Type to convert to
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">R</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Input range
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.utility.convert.deduce_tag.semantics"></a><h6>
+<a name="id36364287"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.deduce_tag.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ <code class="computeroutput">C</code>
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ adapter
+ or boost_array<>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span><span class="identifier">use_put</span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Otherwise
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span><span class="identifier">use_copy</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.utility.convert.dispatch"></a><a class="link" href="convert.html#boost_assign_v2.utility.convert.dispatch" title="Dispatch">Dispatch</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.utility.convert.dispatch.header"></a><h6>
+<a name="id36364450"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.dispatch.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/convert/dispatch.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.dispatch.syntax"></a><h6>
+<a name="id36364495"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.dispatch.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">,</span> <span class="keyword">typename</span> R<span class="special">></span> C <span class="identifier">dispatch</span><span class="special">(</span>R <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span><span class="special">);</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">,</span> <span class="keyword">typename</span> R<span class="special">></span> C <span class="identifier">dispatch</span><span class="special">(</span>R <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">);</span>
+
+<span class="special">}//</span> <span class="identifier">convert_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.dispatch.semantics"></a><h6>
+<a name="id36364699"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.dispatch.semantics">Semantics</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">dispatch</span><span class="special"><</span>C<span class="special">>(</span> r<span class="special">,</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">put</span><span class="special">()</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Default constructs <code class="computeroutput">cont</code> and modifies it through
+ <a class="link" href="../put/cont.html#boost_assign_v2.put.cont.range" title="Range"><code class="computeroutput">put_range<span class="special">(</span> cont<span class="special">,</span>
+ r <span class="special">);</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">dispatch</span><span class="special"><</span>C<span class="special">>(</span> r<span class="special">,</span>
+ <span class="identifier">convert_tag</span><span class="special">::</span><span class="identifier">copy</span><span class="special">()</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Constructs <code class="computeroutput">cont</code> by taking the begin and end iterators
+ of <code class="computeroutput">r</code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">dispatch</span><span class="special"><</span>C<span class="special">>(</span> r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to the binary counterpart with <a class="link" href="convert.html#boost_assign_v2.utility.convert.deduce_tag" title="Deduce tag"><code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span><span class="identifier">deduce_tag</span><span class="special"><</span>C<span class="special">,</span> R<span class="special">>::</span><span class="identifier">type</span></code></a> as second argument
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h4 class="title">
+<a name="boost_assign_v2.utility.convert.converter"></a><a class="link" href="convert.html#boost_assign_v2.utility.convert.converter" title="Converter">Converter</a>
+</h4></div></div></div>
+<a name="boost_assign_v2.utility.convert.converter.header"></a><h6>
+<a name="id36365020"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.header">Header</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/convert/converter.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.converter.syntax"></a><h6>
+<a name="id36365067"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.syntax">Syntax</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">convert_aux</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> R<span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">converter</span>
+ <span class="special">{</span>
+ <span class="keyword">public</span><span class="special">:</span>
+
+ <span class="keyword">explicit</span> <span class="identifier">converter</span><span class="special">(</span><em class="replaceable"><code>unspecified</code></em><span class="special">&</span> r<span class="special">);</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <span class="keyword">operator</span> C <span class="special">();</span>
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> C <span class="identifier">type</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+
+ <span class="special">};</span>
+
+<span class="special">}//</span> <span class="identifier">convert_aux</span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.convert.converter.semantics"></a><h6>
+<a name="id36365263"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.semantics">Semantics</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">converter</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span>R<span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">r</code>
+ </p>
+ </td>
+<td>
+ <p>
+ Range stored by <code class="computeroutput">converter</code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<p>
+ <span class="bold"><strong>Expressions</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">converter<span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to <a class="link" href="convert.html#boost_assign_v2.utility.convert.dispatch" title="Dispatch"><code class="computeroutput"><span class="identifier">dispatch</span><span class="special"><</span>C<span class="special">>(</span> r <span class="special">)</span></code></a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput">C cont <span class="special">=</span> converter<span class="special">;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Forwards to <code class="computeroutput">converter<span class="special">.</span><span class="identifier">type</span><span class="special"><</span>C<span class="special">>()</span></code>;
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.utility.convert.converter.meta"></a><h6>
+<a name="id36365569"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.meta">Meta</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span><span class="special">{</span>
+
+ <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> R<span class="special">></span>
+ <span class="keyword">struct</span> <span class="identifier">converter</span><span class="special">{</span>
+ <span class="keyword">typedef</span> <em class="replaceable"><code>unspecified</code></em> <span class="identifier">type</span><span class="special">;</span>
+ <span class="special">};</span>
+
+<span class="special">}</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Value
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span>R<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">convert_aux</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span>R<span class="special">></span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.convert.converter.make_"></a><h6>
+<a name="id36365796"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.make_">Make </a>
+ </h6>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">R</span><span class="special">></span>
+<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span><span class="identifier">R</span><span class="special">>::</span><span class="identifier">type</span>
+<span class="identifier">converter</span><span class="special">(</span><span class="identifier">R</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">r</span><span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">converter</span><span class="special">(</span>
+ r <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Instance of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">converter</span><span class="special"><</span>R<span class="special">>::</span><span class="identifier">type</span></code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.convert.converter.name_lookup"></a><h6>
+<a name="id36366028"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.name_lookup">Name-lookup</a>
+ </h6>
+<p>
+ <span class="bold"><strong>Description</strong></span>
+ </p>
+<p>
+ A macro for bringing <code class="computeroutput"><span class="identifier">converter</span><span class="special">()</span></code> within a user-specified namespace, such
+ as to invoke name lookup.
+ </p>
+<p>
+ <span class="bold"><strong>Syntax</strong></span>
+</p>
+<pre class="programlisting"><span class="identifier">BOOST_ASSIGN_V2_CONVERTER</span><span class="special">(</span> <span class="identifier">U</span><span class="special">,</span> <span class="identifier">Seq</span> <span class="special">)</span>
+</pre>
+<p>
+ </p>
+<p>
+ <span class="bold"><strong>Parameters</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Symbol
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ U
+ </p>
+ </td>
+<td>
+ <p>
+ A name such as <code class="computeroutput">cont<span class="special"><</span><span class="identifier">A</span><span class="special">,</span>
+ <span class="identifier">B</span><span class="special">,</span>
+ <span class="identifier">C</span><span class="special">></span></code>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Seq
+ </p>
+ </td>
+<td>
+ <p>
+ A sequence of template arguments such as <code class="computeroutput"><span class="special">(</span><span class="identifier">A</span><span class="special">)(</span><span class="identifier">B</span><span class="special">)(</span><span class="identifier">C</span><span class="special">)</span></code>
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<a name="boost_assign_v2.utility.convert.converter.example"></a><h6>
+<a name="id36366264"></a>
+ <a class="link" href="convert.html#boost_assign_v2.utility.convert.converter.example">Example</a>
+ </h6>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">></span> <span class="identifier">ar_</span><span class="special">;</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span>
+ <span class="special">(</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">).</span><span class="identifier">type</span><span class="special"><</span><span class="identifier">ar_</span><span class="special">>()</span> <span class="special">)[</span><span class="number">1</span><span class="special">]</span> <span class="special">==</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span>
+<span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span> <span class="number">3</span> <span class="special">);</span> <span class="identifier">v</span><span class="special">[</span><span class="number">0</span><span class="special">]</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">1</span><span class="special">]</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">v</span><span class="special">[</span><span class="number">2</span><span class="special">]</span> <span class="special">=</span> <span class="number">1</span><span class="special">;<
/span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">stack</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">lifo</span> <span class="special">=</span> <span class="identifier">as2</span><span class="special">::</span><span class="identifier">converter</span><span class="special">(</span> <span class="identifier">v</span> <span class="special">);</span>
+<span class="identifier">BOOST_ASSIGN_V2_CHECK</span><span class="special">(</span> <span class="identifier">lifo</span><span class="special">.</span><span class="identifier">top</span><span class="special">()</span> <span class="special">==</span> <span class="number">1</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="../utility.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="csv.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/csv.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2/utility/csv.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,131 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Csv</title>
+<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="../../index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="up" href="../utility.html" title="Utility">
+<link rel="prev" href="conversion.html" title="Conversion">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conversion.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_assign_v2.utility.csv"></a><a class="link" href="csv.html" title="Csv">Csv</a>
+</h3></div></div></div>
+<a name="boost_assign_v2.utility.csv.header"></a><h5>
+<a name="id36378472"></a>
+ <a class="link" href="csv.html#boost_assign_v2.utility.csv.header">Header</a>
+ </h5>
+<p>
+
+</p>
+<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span>boost/assign/v2/utility/csv.hpp<span class="special">></span>
+</pre>
+<p>
+ </p>
+<a name="boost_assign_v2.utility.csv.description"></a><h5>
+<a name="id36378518"></a>
+ <a class="link" href="csv.html#boost_assign_v2.utility.csv.description">Description</a>
+ </h5>
+<p>
+ A function whose invocation over a sequence of values is equivalent to unary
+ functor invocations over that sequence.
+ </p>
+<a name="boost_assign_v2.utility.csv.syntax"></a><h5>
+<a name="id36378541"></a>
+ <a class="link" href="csv.html#boost_assign_v2.utility.csv.syntax">Syntax</a>
+ </h5>
+<p>
+ [syntax_utility_csv]
+ </p>
+<a name="boost_assign_v2.utility.csv.semantics"></a><h5>
+<a name="id36378563"></a>
+ <a class="link" href="csv.html#boost_assign_v2.utility.csv.semantics">Semantics</a>
+ </h5>
+<p>
+ <span class="bold"><strong>Notation</strong></span>
+ </p>
+<div class="variablelist">
+<p class="title"><b></b></p>
+<dl>
+<dt><span class="term"><code class="computeroutput">t<span class="number">1</span><span class="special">,</span>
+ <span class="special">...,</span> tn</code></span></dt>
+<dd><p>
+ Individual elements of <code class="computeroutput"><span class="identifier">args</span><span class="special">...</span></code>
+ </p></dd>
+</dl>
+</div>
+<p>
+ <span class="bold"><strong>Semantics</strong></span>
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Expression
+ </p>
+ </th>
+<th>
+ <p>
+ Returns
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">csv</span><span class="special">(</span>
+ <span class="identifier">functor</span><span class="special">,</span>
+ <span class="identifier">args</span><span class="special">...</span>
+ <span class="special">)</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"> <span class="identifier">functor</span><span class="special">(</span>
+ t<span class="number">1</span> <span class="special">)</span>
+ <span class="special">...</span> <span class="special">(</span>
+ tn <span class="special">)</span> </code>
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+<a name="boost_assign_v2.utility.csv.example"></a><h5>
+<a name="id36378778"></a>
+ <a class="link" href="csv.html#boost_assign_v2.utility.csv.example">Example</a>
+ </h5>
+<a name="ex_utility_csv"></a><p>
+ <span class="bold"><strong>Example 1</strong></span> [test_utility_csv_put] <span class="bold"><strong>Example 2</strong></span> [test_utility_csv_deque<span class="underline">modulo</span>_]
+ </p>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"></td>
+<td align="right"><div class="copyright-footer">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard<p>
+ 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)
+ </p>
+</div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav">
+<a accesskey="p" href="conversion.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../utility.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a>
+</div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2_HTML.manifest
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/boost_assign_v2_HTML.manifest 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,17 @@
+index.html
+boost_assign_v2/org.html
+boost_assign_v2/tut.html
+boost_assign_v2/conv.html
+boost_assign_v2/reference.html
+boost_assign_v2/reference/conversion.html
+boost_assign_v2/reference/csv.html
+boost_assign_v2/reference/detail.html
+boost_assign_v2/reference/include.html
+boost_assign_v2/reference/interpreter.html
+boost_assign_v2/reference/deque.html
+boost_assign_v2/reference/option.html
+boost_assign_v2/reference/pipe.html
+boost_assign_v2/reference/put.html
+boost_assign_v2/reference/ref.html
+boost_assign_v2/apx.html
+boost_assign_v2/apx/port.html
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/html/index.html
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/html/index.html 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,217 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
+<title>Chapter 1. Boost.Assign 2.0</title>
+<link rel="stylesheet" href="../boostbook.css" type="text/css">
+<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<link rel="home" href="index.html" title="Chapter 1. Boost.Assign 2.0">
+<link rel="next" href="boost_assign_v2/org.html" title="Organization">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table cellpadding="2" width="100%"><tr>
+<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
+<td align="center">Home</td>
+<td align="center">Libraries</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
+<td align="center">More</td>
+</tr></table>
+<hr>
+<div class="spirit-nav"><a accesskey="n" href="boost_assign_v2/org.html"><img src="../../doc/src/images/next.png" alt="Next"></a></div>
+<div class="chapter">
+<div class="titlepage"><div>
+<div><h2 class="title">
+<a name="boost_assign_v2"></a>Chapter 1. Boost.Assign 2.0</h2></div>
+<div><div class="author"><h3 class="author">
+<span class="firstname">Ottosen</span> <span class="surname">Thorsten</span>
+</h3></div></div>
+<div><div class="author"><h3 class="author">
+<span class="firstname">Erwann</span> <span class="surname">Rogard</span>
+</h3></div></div>
+<div><p class="copyright">Copyright © 2003 -2004 Thorsten Ottosen, 2010 Erwann Rogard</p></div>
+<div><div class="legalnotice">
+<a name="id36330860"></a><p>
+ 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)
+ </p>
+</div></div>
+</div></div>
+<div class="toc">
+<p><b>Table of Contents</b></p>
+<dl>
+<dt><span class="section">Introduction</span></dt>
+<dt><span class="section">Organization</span></dt>
+<dt><span class="section">Tutorial</span></dt>
+<dt><span class="section">Conventions</span></dt>
+<dt><span class="section">Reference</span></dt>
+<dd><dl>
+<dt><span class="section">Chain</span></dt>
+<dd><dl>
+<dt><span class="section">Chain</span></dt>
+<dt><span class="section">Logical_and</span></dt>
+</dl></dd>
+<dt><span class="section">Conversion</span></dt>
+<dd><dl>
+<dt><span class="section">Convert</span></dt>
+<dt><span class="section">Converter</span></dt>
+</dl></dd>
+<dt><span class="section">Csv</span></dt>
+<dt><span class="section">Detail</span></dt>
+<dd><dl>
+<dt><span class="section">Keyword</span></dt>
+<dd><dl><dt><span class="section">Nil</span></dt></dl></dd>
+<dt><span class="section">Config</span></dt>
+</dl></dd>
+<dt><span class="section">Include</span></dt>
+<dt><span class="section">Interpreter</span></dt>
+<dd><dl>
+<dt><span class="section">As_arg_list</span></dt>
+<dt><span class="section">Crtp</span></dt>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Deque</span></dt>
+<dd><dl>
+<dt><span class="section">Deque</span></dt>
+<dt><span class="section">Csv_deque</span></dt>
+</dl></dd>
+<dt><span class="section">Option</span></dt>
+<dd><dl>
+<dt><span class="section">Data</span></dt>
+<dt><span class="section">Insert</span></dt>
+<dt><span class="section">Iterate</span></dt>
+<dt><span class="section">Key</span></dt>
+<dt><span class="section">Mapped</span></dt>
+<dt><span class="section">Modifier</span></dt>
+<dt><span class="section">Push</span></dt>
+<dt><span class="section">Push_back</span></dt>
+<dt><span class="section">Push_front</span></dt>
+<dt><span class="section">Repeat</span></dt>
+<dt><span class="section">Std_modifier</span></dt>
+</dl></dd>
+<dt><span class="section">Pipe</span></dt>
+<dd><dl><dt><span class="section">Csv_put</span></dt></dl></dd>
+<dt><span class="section">Put</span></dt>
+<dt><span class="section">Ref</span></dt>
+<dd><dl>
+<dt><span class="section">Array</span></dt>
+<dd><dl>
+<dt><span class="section">Array</span></dt>
+<dt><span class="section">Csv_array</span></dt>
+<dt><span class="section">Get</span></dt>
+<dt><span class="section">Interface</span></dt>
+</dl></dd>
+<dt><span class="section">Include</span></dt>
+<dt><span class="section">Wrapper</span></dt>
+<dd><dl>
+<dt><span class="section">Copy</span></dt>
+<dt><span class="section">Crtp</span></dt>
+</dl></dd>
+</dl></dd>
+</dl></dd>
+<dt><span class="section">Appendix</span></dt>
+<dd><dl>
+<dt><span class="section">Performance</span></dt>
+<dt><span class="section">Portability</span></dt>
+</dl></dd>
+</dl>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="boost_assign_v2.intro"></a><a class="link" href="index.html#boost_assign_v2.intro" title="Introduction">Introduction</a>
+</h2></div></div></div>
+<p>
+ This library is an upgrade of <a href="../../../../../libs/assign/doc/index.html" target="_top">Boost.Assign
+ 1.0</a> that redefines all the functionality, with optional C++0x support
+ and new features. It expresses repetitive statements for assigning or inserting
+ elements via a basic grammar:
+ </p>
+<p>
+
+</p>
+<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">numeric</span><span class="special">(</span> <span class="number">10</span> <span class="special">);</span> <span class="identifier">iota</span><span class="special">(</span> <span class="identifier">numeric</span><span class="special">,</span> <span class="number">0</span> <span class="special">);</span> <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">str_</span><span class="special">;</span>
+<span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">str_</span> <span class="special">></span> <span class="identifier">data_</span><span class="special">;</span> <span class="identifier">array</span><span class="special"><</span><span class="identifier">data_</span><span class="special">,</span> <span class="number">16</span><span class="special">></span> <span class="identifier">numeric_kb</span><span class="special">;</span>
+<span class="identifier">put</span><span class="special">(</span> <span class="identifier">numeric_kb</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="string">"+"</span> <span class="special">)(</span> <span class="string">"-"</span> <span class="special">)(</span> <span class="string">"*"</span> <span class="special">)(</span> <span class="string">"/"</span> <span class="special">)(</span> <span class="string">"="</span> <span class="special">)(</span> <span class="string">"."</span> <span class="special">)</span>
+ <span class="special">(</span> <span class="identifier">as_arg_list</span><span class="special">(</span> <span class="identifier">numeric</span> <span class="special">)</span> <span class="special">);</span>
+
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="identifier">str_</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">front</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="string">"+"</span> <span class="special">);</span>
+<span class="identifier">assert</span><span class="special">(</span> <span class="identifier">get</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span> <span class="identifier">numeric_kb</span><span class="special">.</span><span class="identifier">back</span><span class="special">()</span> <span class="special">)</span> <span class="special">==</span> <span class="number">9</span> <span class="special">);</span>
+</pre>
+<p>
+ </p>
+<p>
+ Here's an overview of the features of the interpreter returned by <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ The functor interface exhibited above need not be restricted to unary i.e
+ it is variadic. The arguments are internally forwarded to a data-member
+ generator whose result is then passed to an appropriate modifier of <code class="computeroutput">cont</code>.
+ </li>
+<li class="listitem">
+ These components are automatically deduced to ensure that <a class="link" href="boost_assign_v2/reference/put.html" title="Put"><code class="computeroutput">put</code></a>
+ works across different container categories.
+ </li>
+<li class="listitem">
+ This default behaviour can be overriden by passing composable options,
+ via <code class="computeroutput"><span class="keyword">operator</span><span class="special">%</span></code>,
+ to the interpreter.
+ </li>
+<li class="listitem">
+ New options, which can potentially encapsulate complex semantics, can be
+ created by <a class="link" href="boost_assign_v2/reference/option.html#option_modifier">invoking macros</a> that
+ manage the overhead.
+ </li>
+<li class="listitem">
+ Operator <code class="computeroutput"><span class="special">|</span></code> is overloaded as
+ a <a class="link" href="boost_assign_v2/reference/pipe.html" title="Pipe"><span class="emphasis"><em>piping</em></span>
+ </a> alternative to <code class="computeroutput">put</code> i.e. it returns the modified container,
+ thereby facilitating integration with <a href="http://svn.boost.org/svn/boost/trunk/libs/range/doc/html/range/reference/algorithms.html" target="_top">range
+ algorithms</a>.
+ </li>
+<li class="listitem">
+ A variant of <code class="computeroutput">put</code>, <a class="link" href="boost_assign_v2/reference/deque.html" title="Deque"><code class="computeroutput"><span class="identifier">deque</span><span class="special"><></span></code></a>,
+ generates a container.
+ </li>
+</ul></div>
+<p>
+ Independently of <code class="computeroutput">put</code>, this library provides a framework, identified
+ by namespace <a class="link" href="boost_assign_v2/reference/ref.html" title="Ref"><code class="computeroutput"><span class="identifier">ref</span></code></a>,
+ for generating an array
+ of reference wrappers, for short, a <span class="emphasis"><em>reference-array</em></span>.
+ </p>
+<p>
+ Other functionality that is adjunct to either the <span class="emphasis"><em>put</em></span>
+ or <span class="emphasis"><em>ref</em></span> frameworks are the following:
+ </p>
+<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<li class="listitem">
+ <a class="link" href="boost_assign_v2/reference.html#boost_assign_v2.reference.chain" title="Chain">Chaining</a> ranges,
+ with special consideration for those created using the <span class="emphasis"><em>ref</em></span>
+ functionaltiy
+ </li>
+<li class="listitem">
+ <a class="link" href="boost_assign_v2/reference/conversion.html" title="Conversion">Conversion</a>
+ from ranges to containers
+ </li>
+<li class="listitem">
+ Replacing successive unary functor <sup>[<a name="id36331527" href="#ftn.id36331527" class="footnote">1</a>]</sup> calls over a sequence by a single function invocation, <a class="link" href="boost_assign_v2/reference/csv.html" title="Csv"><code class="computeroutput">csv</code></a>
+ </li>
+</ul></div>
+</div>
+<div class="footnotes">
+<br><hr width="100" align="left">
+<div class="footnote"><p><sup>[<a name="ftn.id36331527" href="#id36331527" class="para">1</a>] </sup>
+ Usually, <code class="computeroutput">put<span class="special">(</span> cont <span class="special">)</span></code>
+ </p></div>
+</div>
+</div>
+<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+<td align="left"><p><small>Last revised: March 26, 2011 at 01:37:05 GMT</small></p></td>
+<td align="right"><div class="copyright-footer"></div></td>
+</tr></table>
+<hr>
+<div class="spirit-nav"><a accesskey="n" href="boost_assign_v2/org.html"><img src="../../doc/src/images/next.png" alt="Next"></a></div>
+</body>
+</html>
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/include.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/include.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,124 @@
+[tpl_module
+ [@../../../../../boost/assign/v2/include `boost/assign/v2/include`]
+ ..Header lookup by identifier. Also see [link ref_include Ref.Include].
+]
+
+[heading Synopsis]
+
+[def __invoke_option__ `__object_interpreter__ % `]
+
+[table
+ [[Identifier][Usage][Module]]
+ [
+ [`__kwd_chain__`]
+ [`__range__1 | __kwd_chain__( __range__2 )`]
+ [[link boost_assign_v2.reference.chain Chain]]
+ ]
+ [
+ [`__kwd_convert__`]
+ [`__range__ | __fun_convert__<__cont_type__>()`]
+ [[link boost_assign_v2.reference.conversion Conversion]]
+ ]
+ [
+ [`__kwd_csv_put__`]
+ [`__cont__ | __kwd_csv_put__( __args__ )`]
+ [[link boost_assign_v2.reference.csv Csv]]
+ ]
+ [
+ [`__kwd_data__`]
+ [__invoke_option__`( __kwd_data__ = __f__ )`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_insert__`]
+ [__invoke_option__`__kwd_insert__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_iterate__`]
+ [__invoke_option__`( __kwd_iterate__ = __f__ )`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_key__`]
+ [__invoke_option__`__kwd_key__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_mapped__`]
+ [__invoke_option__`( __kwd_mapped__ = __arg__ )`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_push__`]
+ [__invoke_option__`__kwd_push__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_push_back__`]
+ [__invoke_option__`__kwd_push_back__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_push_front__`]
+ [__invoke_option__`__kwd_push_front__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_repeat__`]
+ [__invoke_option__`__kwd_repeat__`]
+ [__link_option__]
+ ]
+ [
+ [`__kwd_std_modifier__`]
+ [__invoke_option__`__kwd_std_modifier__ = __arg__`]
+ [__link_option__]
+ ]
+ [
+ [`__fun_converter__`]
+ [`__cont_type__ __cont__ = __fun_converter__( __range__ )`]
+ [__link_option__]
+ ]
+ [
+ [`__fun_csv__`]
+ [`__fun_csv__( functor, __args__)`]
+ [__link_option__]
+ ]
+ [
+ [`__fun_csv_deque__`]
+ [`__fun_csv_deque__( __args__ )`]
+ [__link_deque__]
+ ]
+ [
+ [`__fun_deque__`]
+ [`__fun_deque__<__value_type__>( __args__ )`]
+ [__link_deque__]
+ ]
+ [
+ [`__fun_put__`]
+ [`__fun_put__( __cont__ )( __args1__ ) __ellipsis__( __argsn__ )`]
+ [__link_put__]
+ ]
+]
+
+
+
+
+
+ [/
+ [[^chain.hpp]]
+ [`__range__1 && __range__2`]
+ [__describe_chain__]
+ [__link_utility_chain__]
+ ]
+
+
+[/table
+ [`__ref_array__( __value__1 ) ... ( __value_n__ )`]
+ [__link_ref_array__]
+ [`__fun_ref_csv_array__( __value__... )`]
+ [__link_ref_array__]
+ [[^get.hpp]]
+ [__link_ref_wrapper__]
+]
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/interpreter.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/interpreter.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,103 @@
+[tpl_module
+ [@../../../../../boost/assign/v2/interpreter.hpp `boost/assign/v2/interpreter.hpp`]
+ ..Interpreter framework
+]
+
+[section:as_arglist As_arg_list]
+
+[import ../../../../boost/assign/v2/interpreter/as_arg_list.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/interpreter/as_arg_list.hpp `boost/assign/v2/interpreter/as_arg_list.hpp`]
+ ..Command to an interpreter to process each element of a range individually
+ ..[syntax_interpreter_as_arg_list]
+ ..None
+]
+
+[endsect][/as_arglist]
+[section:crtp Crtp]
+[#interpreter_crtp]
+
+[import ../../../../boost/assign/v2/interpreter/crtp.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/interpreter/crtp.hpp `boost/assign/v2/interpreter/crtp.hpp`]
+ ..Interpreter crtp
+ ..[syntax_interpreter_crtp]
+ ..None
+]
+
+[endsect][/crtp]
+[section:data Data]
+
+[import ../../../../boost/assign/v2/interpreter/data.hpp]
+
+[heading Header]
+[@../../../../../boost/assign/v2/interpreter/data.hpp `boost/assign/v2/interpreter/data.hpp`]
+
+[heading Description]
+Interpreter's data generator
+
+[heading Synopsis]
+[syntax_interpreter_data]
+
+[heading Semantics]
+
+[#data_gen_rules]
+
+[*Notation]
+
+[variablelist
+ [[`__cont_type__`][Container type]]
+ [[`__value_type__`][`remove_reference<__cont_type__::reference>::type`]]
+]
+
+[*Expressions]
+
+Metafunction `deduce_data_generator<__cont_type__>` returns a generator, variadic in its arguments, of `__value_type__` and
+`__value_type__*`, for value- and [tpl_ptr_container pointer-containers], respectively.
+
+[endsect][/data]
+[section:modifier Modifier]
+[#interpreter_modifier]
+
+[import ../../../../boost/assign/v2/interpreter/modifier.hpp]
+
+[heading Header]
+[@../../../../../boost/assign/v2/interpreter/modifier.hpp `boost/assign/v2/interpreter/modifier.hpp`]
+
+[heading Description]
+Interpreter's modifier
+
+[heading Synopsis]
+[syntax_interpreter_modifier]
+
+[heading Semantics]
+[#modifier_rules]
+
+Metafunction `deduce_modifier_tag<__cont_type__>` implements the following switch statement:
+
+[table
+ [
+ [Case]
+ [Result]
+ ]
+ [
+ [`__cont_type__` is [tpl_stl_assoc Associative]]
+ [[link boost_assign_v2.reference.option `modifier_tag::insert`]]
+ ]
+ [
+ [`__cont_type__` is an [tpl_boost_array Array]]
+ [[link boost_assign_v2.reference.option `modifier_tag::iterate`]]
+ ]
+ [
+ [`__cont_type__` is an [tpl_stl_adapter Adapter]]
+ [[link boost_assign_v2.reference.option `modifier_tag::push`]]
+ ]
+ [
+ [None of the above]
+ [[link boost_assign_v2.reference.option `modifier_tag::push_back`]]
+ ]
+]
+
+[endsect][/modifier]
\ No newline at end of file
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/option.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/option.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,303 @@
+[def __option_data_gen__ Option to replace an interpreter's data generator]
+[def __option_std_modifier__ Standard modifier option]
+
+[import ../test/option/std_modifier.cpp]
+[import ../test/option/mapped.cpp]
+
+
+[heading Header]
+[@../../../../../boost/assign/v2/option.hpp `boost/assign/v2/option.hpp`]
+
+[warning __option_requirement__]
+
+[heading Description]
+Options to alter the semantics of an [link boost_assign_v2.reference.interpreter interpreter].
+
+[heading Semantics]
+
+[table
+ [[Expression][Description]]
+ [[`__object_interpreter__ __invoke_options__`][ Returns an interpreter with a modified type or state ]]
+]
+
+[heading Notation]
+
+[variablelist
+ [[`args...`][Arguments passed to `__object_interpreter__` ]]
+ [[`__value__`][Data member internally generated by invoking `__object_interpreter__( args... )`]]
+ [[`__cont__`][Container that `__object_interpreter__` internally modifies]]
+ [[`__cont_type__`][Type of `__cont__`]]
+]
+
+[template tpl_option_modifier[HEADER OPTION DEFAULT MODIFIER EXAMPLE]
+
+[heading Header]
+[HEADER]
+
+[heading Description]
+Modifier option.
+
+[heading Semantics]
+
+[table
+ [
+ [Option]
+ [Default]
+ [Modifier]
+ ]
+ [
+ [ [OPTION] ]
+ [ [DEFAULT] ]
+ [ [MODIFIER] ]
+ ]
+]
+
+[heading Example]
+[EXAMPLE]
+
+]
+
+[template tpl_option_data_generator[HEADER SYNTAX OPTION DEFAULT GEN EXAMPLE]
+
+[heading Header]
+[HEADER]
+
+[heading Description]
+Data generator option.
+
+[heading Semantics]
+
+[table
+ [
+ [Option]
+ [Default]
+ [Data-generation]
+ ]
+ [
+ [ [OPTION] ]
+ [ [DEFAULT] ]
+ [ [GEN] ]
+ ]
+]
+
+[heading Example]
+[EXAMPLE]
+
+]
+[section:data Data]
+[import ../test/option/data.cpp]
+
+[tpl_option_data_generator
+ [@../../../../../boost/assign/v2/option/data.hpp `boost/assign/v2/option/data.hpp`]
+ ..[syntax_option_data]
+ ..`__kwd_data__ = __f__`
+ ..None
+ ..`__value__ = __f__(__args__)`
+ ..[*Example1]
+ [test_option_data_math]
+ [*Example2]
+ [test_option_data_recursive]
+]
+
+[endsect][/data]
+[section:insert Insert]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/insert.hpp `boost/assign/v2/option/insert.hpp`]
+ ..`__kwd_insert__`
+ ..Not applicable
+ ..`__cont__.insert( __value__ )`
+ ..[test_option_insert]
+]
+
+[endsect][/insert]
+[section:iterate Iterate]
+
+[import ../test/option/iterate.cpp]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/data.hpp `boost/assign/v2/option/data.hpp`]
+ ..`__kwd_iterate__ = __arg__`
+ ..`__arg__()` increments a counter initalized at zero
+ ..`__cont__[ __arg__() ] = __value__`
+ ..[test_option_iterate_shifted]
+]
+
+[endsect][/iterate]
+[section:key Key]
+
+[tpl_option_data_generator
+ [@../../../../../boost/assign/v2/option/key.hpp `boost/assign/v2/option/key.hpp`]
+ ..[syntax_option_data]
+ ..`__kwd_key__`
+ ..None
+ ..`__value__ = __cont_type__::key_type(__args__)`
+ ..See [link option_mapped Option.Mapped]
+]
+
+[endsect][/key]
+[section:mapped Mapped]
+[#option_mapped]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/mapped.hpp `boost/assign/v2/option/mapped.hpp`]
+ ..`__kwd_mapped__ = __arg__`
+ .. None
+ ..`cont[ __value__ ] = __arg__( cont[ __value__ ] )`
+ ..[test_option_mapped_map]
+]
+
+[endsect][/mapped]
+[section:modifier Modifier]
+[#option_modifier]
+[import ../../../../boost/assign/v2/option/modifier.hpp]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/option/modifier.hpp boost/assign/v2/option/modifier.hpp]
+ ..Option modifier framework
+]
+
+[heading Synopsis]
+[syntax_option_modifier]
+
+[heading Semantics]
+
+[*Requirement]
+
+Specialize, such as to model [link interpreter_modifier `interpreter_aux::ConceptModifier`],
+``
+namespace interpreter_aux{
+
+ template<typename Arg>
+ class interpreter_modifier< Result >;
+
+}
+``
+
+[*Expression]
+
+[table
+ [[Expression][Description]]
+ [
+ [`BOOST_ASSIGN_V2_OPTION_MODIFIER_KEYWORD(NAME)`]
+ [Defines an empty class `interpreter_aux::keyword_NAME;` and an associated keyword `_keyword_NAME`]
+ ]
+ [
+ [`BOOST_ASSIGN_V2_OPTION_MODIFIER_META_MODIFIER_TAG(NAME, Result)`]
+ [Specializes metafunction class `interpreter_aux::meta_modifier_tag` on `interpreter_aux::keyword_NAME` to return `Result`]
+ ]
+]
+
+[heading Examples]
+[*Example1]
+
+[@../../../../../boost/assign/v2/option/iterate.hpp [^boost/assign/v2/option/iterate.hpp]]
+
+[*Example2]
+
+[@../../../../../boost/assign/v2/option/mapped.hpp [^boost/assign/v2/option/mapped.hpp]]
+
+[*Example3]
+
+[@../../../../../boost/assign/v2/option/repeat.hpp [^boost/assign/v2/option/repeat.hpp]]
+
+[endsect][/modifier]
+[section:push Push]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/push.hpp `boost/assign/v2/option/push.hpp`]
+ ..`__kwd_push__`
+ .. Not applicable
+ ..`__cont__.push( __value__ )`
+ ..[test_option_push]
+]
+
+[endsect][/push]
+[section:push_back Push_back]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/push_back.hpp `boost/assign/v2/option/push_back.hpp`]
+ ..`__kwd_push_back__`
+ .. Not applicable
+ ..`__cont__.push_back( __value__ )`
+ ..[test_option_push_back]
+]
+
+[endsect][/push_back]
+[section:push_front Push_front]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/push_front.hpp `boost/assign/v2/option/push_front.hpp`]
+ ..`__kwd_push_front__`
+ .. Not applicable
+ ..`__cont__.push_front( __value__ )`
+ ..[test_option_push_front_deque]
+]
+
+[endsect][/push_front]
+[section:repeat Repeat]
+
+[import ../test/option/repeat.cpp]
+
+[tpl_option_modifier
+ [@../../../../../boost/assign/v2/option/push_front.hpp `boost/assign/v2/option/push_front.hpp`]
+ ..`__kwd_repeat__ = n`
+ ..[^n = 0]
+ ..Invokes [^n] times the modifier that prevailed before passing this option
+ ..[*Example1]
+ [test_option_repeat_simple]
+ [*Example2]
+ [test_option_repeat_compose]
+]
+
+[endsect][/repeat]
+[section:std_modifier Std_modifier]
+
+[heading Header]
+[@../../../../../boost/assign/v2/option/push.hpp `boost/assign/v2/option/push.hpp`]
+
+[heading Description]
+Modifier option
+
+[heading Syntax]
+``
+namespace interpreter_aux{
+ struct option_std_modifier;
+}
+ option_std_modifier const __kwd_std_modifier__;
+ #define BOOST_ASSIGN_V2_OPTION_STD_MODIFIER(Name) __unspecified__
+``
+
+[heading Semantics]
+
+[*Option]
+
+[table
+ [[Option][Default][Modifier]]
+ [[`__kwd_std_modifier__ = __arg__`][None][Semantics of `interpreter_aux::modifier<Arg>`]]
+]
+
+[*Macro]
+``
+ BOOST_ASSIGN_V2_OPTION_STD_MODIFIER(Name)
+``
+
+* Defines `namespace modifier_tag{ struct Name{}; }`
+* Creates a keyword `_Name`, shortcut for `__kwd_std_modifier__ = modifier_tag::Name`
+* Specializes `interpreter_aux::modifier<modifier_tag::Name>` with the following semantics:
+
+[table
+ [[Option][Modifier]]
+ [[`_Name`][`__cont__.Name( __value__ )`]]
+]
+
+[heading Example]
+``
+ BOOST_ASSIGN_V2_OPTION_STD_MODIFIER(push_back)
+``
+
+[endsect][/std_modifier]
+
+
+
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/org.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/org.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,53 @@
+[heading Headers]
+[#org_headers]
+
+Using a given feature of this library requires no more than including the corresponding header file. To find it, one can look inside
+either the organization by module or the one by identifier.
+
+[def __full_include__ includes most of the functionality [footnote A few headers are not included in that of their enclosing module. Where applicable,
+this will be mentioned]]
+
+[*By module]
+
+In directory [^boost/assign/v2], all but within [^boost/assign/v2/include] and [^boost/assign/v2/ref/include], headers and directories are organized according to the modular structure of this
+library. The following statement __full_include__:
+[#full_include]
+``
+ #include <boost/assign/v2.hpp>
+``
+
+[*By identifier]
+
+In directory [link boost_assign_v2.reference.include [^boost/assign/v2/include]] and [link ref_include [^boost/assign/v2/ref/include]]
+headers are named after an identifier that they define.
+
+[*Requirement]
+
+__option_requirement__. For example,
+``
+ #include <boost/assign/v2/include/deque.hpp>
+ #include <boost/assign/v2/option/data.hpp>
+``
+
+is right, but reversing the order is wrong.
+
+[heading Namespace]
+[#org_ns]
+
+All library identifiers are within `boost::assign::v2`. The nested namespace `boost::assign::v2::ref` is reserved for functionality
+dedicated to references.
+
+[heading Identifier ]
+[#org_id]
+
+[variablelist
+ [
+ [With prefix `_`]
+ [Returns an object that is the second argument to an operator overload.]
+ ]
+ [
+ [With prefix `csv`]
+ [Function that translates a functor to sucessive unary invocations of the latter over the parameter list]
+ ]
+]
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/perf.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/perf.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,194 @@
+
+[*Machine]
+Mac OS
+
+[*Compiler]
+GNU C++ version 4.4.1
+
+[*Notation]
+
+[variablelist
+ [
+ [`T`]
+ [`std::vector<int>`]
+ ]
+ [
+ [[^n]]
+ [Number of inner loops]
+ ]
+ [
+ [[^k]]
+ [Number of outer loops]
+ ]
+ [
+ [`args...`]
+ [List of arguments, each of type T and max size 1000]
+ ]
+ [
+ [[^var]]
+ [Time to eval some method over `args...`, [^n] times]
+ ]
+ [
+ [[^var_scaled]]
+ [[^1000 * var]]
+ ]
+ [
+ [[^m]]
+ [Size of `args...`]
+ ]
+ [
+ [[^min]]
+ [Min value of [^var_scaled], over [^k] repetitions]
+ ]
+ [
+ [[^average]]
+ [Average value of [^var_scaled], over [^k] repetitions]
+ ]
+ [
+ [[^max]]
+ [Max value of [^var_scaled], over [^k] repetitions]
+ ]
+ [
+ [[^cumulated]]
+ [Cumulative value of [^var_scaled], over [^k] repetitions]
+ ]
+]
+
+[*Methods]
+
+[table Assign
+ [[Method][Description]]
+ [
+ [stl_push_back]
+ [`cont.push_back( arg1 ); ...; cont.push_back( argm )`]
+ ]
+ [
+ [v1_push_back]
+ [`assign::push_back( cont )( arg1 )...( argm )`]
+ ]
+ [
+ [v2_put]
+ [`assign::v2::put( cont )( arg1 )...( argm )`]
+ ]
+ [/
+ [v2_pipe_put]
+ [`cont | assign::v2::_put( arg1 )...( argm )`]
+ ]
+ [
+ [v2_pipe_csv_put]
+ [`cont | assign::v2::_csv_put( args... )`]
+ ]
+]
+
+[table Generate
+ [[Method][Description]]
+ [
+ [v1_list_of]
+ [`assign::list_of( arg1 )...( argm )`]
+ ]
+ [
+ [v2_deque]
+ [`assign::v2::deque<T>( arg1 )...( argm )`]
+ ]
+ [
+ [v2_csv_deque]
+ [`assign::v2::csv_deque( args... )`]
+ ]
+ [
+ [v1_cref_list_of]
+ [`assign::cref_list_of<m>( arg1 )...( argm )`]
+ ]
+ [
+ [v2_ref_array]
+ [`assign::v2::ref::array( arg1 )...( argm )`]
+ ]
+ [
+ [v2_ref_csv_array]
+ [`assign::v2::ref::csv_array( args...)`]
+ ]
+]
+
+[*Results]
+``
+{k, n, m}
+{method, min, average, max, cumulative}
+
+{12800, 100, 1},
+{stl_push_back, 0.013, 0.014, 0.027, 178.3},
+{v1_push_back, 0.031, 0.034, 0.050, 430.5},
+{v2_put, 0.013, 0.015, 0.023, 194.0},
+{v2_pipe_csv_put, 0.013, 0.015, 0.019, 191.4},
+{v1_list_of, 0.122, 0.125, 0.153, 1601.9},
+{v2_deque, 0.102, 0.105, 0.127, 1341.5},
+{v2_csv_deque, 0.042, 0.045, 0.057, 581.6},
+{v1_cref_list_of, 0.000, 0.001, 0.004, 17.7},
+{v2_ref_array, 0.002, 0.004, 0.007, 47.9},
+{v2_ref_csv_array, 0.000, 0.001, 0.005, 17.8}
+}
+{
+{6400, 100, 2},
+{stl_push_back, 0.034, 0.036, 0.045, 229.7},
+{v1_push_back, 0.080, 0.085, 0.104, 541.0},
+{v2_put, 0.035, 0.037, 0.046, 237.0},
+{v2_pipe_csv_put, 0.035, 0.037, 0.044, 235.3},
+{v1_list_of, 0.180, 0.187, 0.223, 1194.4},
+{v2_deque, 0.142, 0.145, 0.174, 930.5},
+{v2_csv_deque, 0.075, 0.079, 0.094, 503.5},
+{v1_cref_list_of, 0.000, 0.001, 0.005, 9.0},
+{v2_ref_array, 0.005, 0.006, 0.017, 40.1},
+{v2_ref_csv_array, 0.001, 0.002, 0.005, 11.2}
+}
+{
+{3200, 100, 4},
+{stl_push_back, 0.093, 0.097, 0.117, 311.3},
+{v1_push_back, 0.244, 0.251, 0.296, 804.4},
+{v2_put, 0.097, 0.100, 0.115, 321.0},
+{v2_pipe_csv_put, 0.097, 0.101, 0.125, 324.6},
+{v1_list_of, 0.345, 0.353, 0.432, 1128.6},
+{v2_deque, 0.214, 0.219, 0.266, 699.8},
+{v2_csv_deque, 0.142, 0.147, 0.175, 469.5},
+{v1_cref_list_of, 0.000, 0.001, 0.006, 4.5},
+{v2_ref_array, 0.012, 0.013, 0.018, 42.0},
+{v2_ref_csv_array, 0.001, 0.002, 0.006, 7.3}
+}
+{
+{1600, 100, 8},
+{stl_push_back, 0.286, 0.292, 0.317, 467.6},
+{v1_push_back, 0.531, 0.540, 0.674, 863.3},
+{v2_put, 0.288, 0.295, 0.472, 471.5},
+{v2_pipe_csv_put, 0.293, 0.298, 0.340, 477.6},
+{v1_list_of, 0.620, 0.627, 0.715, 1003.9},
+{v2_deque, 0.400, 0.407, 0.460, 651.0},
+{v2_csv_deque, 0.321, 0.328, 0.381, 525.4},
+{v1_cref_list_of, 0.000, 0.001, 0.002, 2.3},
+{v2_ref_array, 0.038, 0.040, 0.043, 64.3},
+{v2_ref_csv_array, 0.002, 0.003, 0.004, 5.3}
+}
+{
+{800, 100, 16},
+{stl_push_back, 0.659, 0.666, 0.773, 533.2},
+{v1_push_back, 1.145, 1.163, 1.327, 930.2},
+{v2_put, 0.683, 0.691, 0.742, 552.9},
+{v2_pipe_csv_put, 0.685, 0.694, 0.742, 555.0},
+{v1_list_of, 1.274, 1.285, 1.339, 1027.6},
+{v2_deque, 0.809, 0.828, 0.910, 662.5},
+{v2_csv_deque, 0.729, 0.746, 0.837, 596.6},
+{v1_cref_list_of, 0.000, 0.001, 0.005, 1.1},
+{v2_ref_array, 0.120, 0.122, 0.147, 97.6},
+{v2_ref_csv_array, 0.004, 0.005, 0.009, 4.2}
+}
+{
+{400, 100, 32},
+{stl_push_back, 1.263, 1.277, 1.355, 510.8},
+{v1_push_back, 2.328, 2.346, 2.467, 938.2},
+{v2_put, 1.291, 1.312, 1.422, 524.9},
+{v2_pipe_csv_put, 1.321, 1.339, 1.431, 535.4},
+{v1_list_of, 2.393, 2.410, 2.529, 964.2},
+{v2_deque, 1.406, 1.424, 1.524, 569.4},
+{v2_csv_deque, 1.346, 1.361, 1.433, 544.4},
+{v1_cref_list_of, 0.005, 0.006, 0.007, 2.5},
+{v2_ref_array, 0.497, 0.509, 0.559, 203.5},
+{v2_ref_csv_array, 0.026, 0.027, 0.030, 10.9}
+}
+``
+[c++]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/pipe.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/pipe.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,23 @@
+[import ../test/pipe/option/data.cpp]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/pipe.hpp `boost/assign/v2/pipe.hpp`]
+ ..Pipe version of a functor
+]
+
+[section:csv_put Csv_put]
+[import ../../../../boost/assign/v2/pipe/csv_put.hpp]
+[import ../test/pipe/csv_put.cpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/pipe/csv_put.hpp `boost/assign/v2/pipe/csv_put.hpp`]
+ ..Pipe & csv form of [link boost_assign_v2.reference.put `__fun_put__`]
+ ..[syntax_pipe_csv_put]
+ ..[*Example1]
+ [test_pipe_csv_put_str_literal]
+ [*Example2]
+ [test_pipe_option_data_math]
+]
+
+[endsect][/csv_put]
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/port.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/port.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,122 @@
+
+[def __ubuntu__ [@http://releases.ubuntu.com/lucid/ Ubuntu 10.04]]
+[def __osx__ [@http://support.apple.com/kb/HT4250 Mac OS X 10.6.5]]
+[def __ms__ [@http://www.microsoft.com/windowsxp/pro/default.mspx Windows XP ]]
+[def __msvc__ [@http://www.microsoft.com/express/Downloads/#2010-Visual-CPP MSVC 10.0]]
+[def __icc__ [@http://software.intel.com/en-us/articles/intel-compilers/ Intel (R) C++ Compiler XE 12.0]]
+[def __llvm__ [@http://llvm.org/releases/1.7/docs/ReleaseNotes.html LLVM compiler 1.7]]
+[def __llvm_42 [@http://developer.apple.com/library/ios/#releasenotes/DeveloperTools/RN-llvm-gcc/ LLVM GCC 4.2]]
+
+[def __na__ Not available]
+[def __ok__ passed]
+[def __osx_boost_rev__ [^v1.45]]
+[def __ms_boost_rev__ [^v1.46]]
+[def __ubu_boost_rev__ [^v1.45]]
+[def __osx_as2_rev__ [^r70547]]
+[def __ms_as2_rev__ [^r70547]]
+[def __ubu_as2_rev__ [^r69577]]
+
+[tpl_test Here] is the test suite.
+
+[/
+OSX
+ sudo bjam darwin-4.0 variant=debug,release -a
+ sudo bjam darwin-4.2 variant=debug,release -a
+Unix
+ sudo bjam darwin-4.4 variant=debug,release -a
+ sudo bjam darwin-4.4 variant=debug,release cxxflags=-std=c++0x -a
+Ubuntu
+ sudo bjam gcc variant=debug,release -a
+ sudo bjam gcc variant=debug,release cxxflags=-std=c++0x -a
+MSVC
+ sudo bjam toolset=msvc-10.0 variant=debug,release cflags=-D_SCL_SECURE_NO_WARNINGS
+
+]
+
+
+
+[table
+ [
+ [ OS]
+ [ Compiler ]
+ [ Option(s) ]
+ [__boost__]
+ [ Test ]
+ [ __boost_assign_v2__ ]
+ ]
+ [
+ [ __osx__]
+ [ gcc-4.0 ]
+ [ ]
+ [ __osx_boost_rev__ ]
+ [ __ok__ ]
+ [ __osx_as2_rev__ ]
+ ]
+ [
+ [ __osx__]
+ [ gcc-4.2 ]
+ [ ]
+ [ __osx_boost_rev__ ]
+ [ __ok__ ]
+ [ __osx_as2_rev__ ]
+ ]
+ [/
+ [ __osx__]
+ [ __llvm_15__ ]
+ [ ]
+ [ __osx_boost_rev__ ]
+ [ Errors (find [^BUG] in test files) ]
+ [ [^69575] ]
+ ]
+ [
+ [ Unix (__url_fink__ ) ]
+ [ gcc-4.4 ]
+ [ ]
+ [ __osx_boost_rev__ ]
+ [ __ok__ ]
+ [ __osx_as2_rev__ ]
+ ]
+ [
+ [ Unix (__url_fink__ ) ]
+ [ gcc-4.4 ]
+ [ __cpp0x__ ]
+ [ __osx_boost_rev__ ]
+ [ __ok__ ]
+ [ __osx_as2_rev__ ]
+ ]
+ [
+ [ __ubuntu__ ]
+ [ gcc-4.4 ]
+ [ ]
+ [ __ubu_boost_rev__ ]
+ [ __ok__ ]
+ [ __ubu_as2_rev__ ]
+ ]
+ [
+ [ __ubuntu__ ]
+ [ gcc-4.4 ]
+ [ __cpp0x__ ]
+ [ __ubu_boost_rev__ ]
+ [ __ok__ ]
+ [ __ubu_as2_rev__ ]
+ ]
+ [
+ [ __ubuntu__ ]
+ [ __icc__ ]
+ [ ]
+ [ __osx_boost_rev__ ]
+ [ __ok__ ]
+ [ __ubu_as2_rev__ ]
+ ]
+ [
+ [ __ms__ ]
+ [ __msvc__ ]
+ [ ]
+ [ __ms_boost_rev__]
+ [ __ok__[/footnote cflags=-D_SCL_SECURE_NO_WARNINGS] ]
+ [ __ms_as2_rev__ ]
+ [/
+ bjam toolset=msvc-10.0 variant=debug cflags=-D_SCL_SECURE_NO_WARNINGS
+ ]
+ ]
+]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/put.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/put.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,27 @@
+[heading Header]
+[def __header_put__ [@../../../../../boost/assign/v2/put.hpp boost/assign/v2/put.hpp]]
+``
+ #include <__header_put__>
+``
+
+[heading Description]
+Interpreter for modifying a container
+
+[heading Synopsis]
+[import ../../../../boost/assign/v2/put.hpp]
+[syntax_put]
+
+[heading Example]
+[import ../test/put/put.cpp]
+[#ex_put]
+[*Example 1]
+[test_put_put_bitset]
+[*Example 2]
+[test_put_put_numeric_kb]
+[*Example 3]
+[test_put_put_ragged]
+[/*Example 4]
+[/test_put_stl]
+[*Example 4]
+[test_put_put_area_codes]
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/ref.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/ref.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,164 @@
+[section:array Array]
+
+[tpl_module
+ [@../../../../../boost/assign/v2/ref/array.hpp `boost/assign/v2/ref/array.hpp`]
+ ..Reference array generation
+]
+
+[template tpl_ref_array [HEADER DESCRIPTION GENERATION EXAMPLE]
+
+[heading Header]
+`#include <`[HEADER]`>`
+
+[heading Description]
+[DESCRIPTION]
+
+[heading Array]
+Inherits [link array_interface `array_aux::interface<>`].
+
+[heading Generation]
+[GENERATION]
+
+[heading Examples]
+[EXAMPLE]
+
+]
+
+[section:array Array]
+[#ref_array]
+
+[import ../../../../boost/assign/v2/ref/array/array.hpp]
+[import ../test/ref/array.cpp]
+
+[heading Header]
+[@../../../../../boost/assign/v2/ref/array/array.hpp [^boost/assign/v2/ref/array/array.hpp]]
+
+[heading Description]
+__functor_form__
+
+[heading Synopsis]
+[syntax_ref_array_array]
+[tip The [link csv_array csv-form]'s runtime execution is significantly faster. ]
+
+[heading Examples]
+[*Example 1]
+[test_ref_array_read]
+[/*Example 2]
+[/test_ref_array_write]
+[/*Example 3]
+[/test_ref_array_assign]
+[/*Example 4]
+[/test_ref_array_temporaries]
+
+[endsect][/array]
+[section:csv_array Csv_array]
+[#csv_array]
+
+[import ../../../../boost/assign/v2/ref/array/csv_array.hpp]
+[import ../test/ref/csv_array.cpp]
+
+[tpl_ref_array
+ [@../../../../../boost/assign/v2/ref/array/csv_array.hpp `boost/assign/v2/ref/array/csv_array.hpp`]
+ ..__csv_form__
+ ..[syntax_ref_array_array]
+ ..[/*Example 1]
+ [test_ref_csv_array_read]
+ [*Example 2]
+ [test_ref_csv_array_write]
+ [*Example 3]
+ [test_ref_csv_array_temporaries]
+ [*Example 4]
+ [test_ref_csv_array_assign]
+]
+
+[endsect][/csv_array]
+[section:get Get]
+
+[import ../../../../boost/assign/v2/ref/array/get.hpp]
+[import ../test/ref/get.cpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/ref/array/get.hpp `boost/assign/v2/ref/array/get.hpp`]
+ ..Transforms a reference array by member function `get()`
+ ..[syntax_ref_array_get]
+ ..[test_ref_get]
+]
+
+[endsect][/get]
+[section:interface Interface]
+[#array_interface]
+
+[import ../../../../boost/assign/v2/ref/array/interface.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/ref/array/interface.hpp `boost/assign/v2/ref/array/interface.hpp`]
+ ..Interface for a reference array
+ ..[syntax_ref_array_interface]
+ ..None
+]
+
+[endsect][/interface]
+[endsect][/array]
+[section:include Include]
+[#ref_include]
+[tpl_module
+ [@../../../../../boost/assign/v2/ref/include.hpp `boost/assign/v2/ref/include.hpp`]
+ ..Header lookup by identifier
+]
+
+[heading Synopsis]
+
+[table
+ [[Identifier][Usage][Module]]
+ [
+ [`__fun_ref_array__`]
+ [`__fun_ref_array__( __arg__1 ) __ellipsis__ ( __argn__ )`]
+ [ [link ref_array Ref.Array] ]
+ ]
+ [
+ [`__fun_ref_csv_array__`]
+ [`__fun_ref_csv_array__( __args__ )`]
+ [ [link ref_array Ref.Array] ]
+ ]
+ [
+ [`__kwd_ref_get__`]
+ [`__ref_array__ | __kwd_ref_get__`]
+ [ [link ref_array Ref.Array] ]
+ ]
+]
+
+[endsect][/include]
+[section:wrapper Wrapper]
+
+
+[tpl_module
+ [@../../../../../boost/assign/v2/ref/wrapper.hpp `boost/assign/v2/ref/wrapper.hpp`]
+ ..Default constructible reference wrapper module
+]
+
+[section:copy Copy]
+
+[import ../test/ref/wrapper.cpp]
+[import ../../../../boost/assign/v2/ref/wrapper/copy.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/ref/wrapper/copy.hpp `boost/assign/v2/ref/wrapper/copy.hpp`]
+ ..Reference wrapper with copy semantics
+ ..[syntax_ref_wrapper_copy]
+ ..[test_ref_wrapper]
+]
+
+[endsect][/copy]
+[section:crtp Crtp]
+
+[import ../../../../boost/assign/v2/ref/wrapper/crtp.hpp]
+
+[tpl_feature
+ [@../../../../../boost/assign/v2/ref/wrapper/crtp.hpp `boost/assign/v2/ref/wrapper/crtp.hpp`]
+ ..CRTP reference wrapper.
+ ..[syntax_ref_wrapper_crtp]
+ ..None
+]
+
+[endsect][/crtp]
+[endsect][/wrapper]
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/boost.xml
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/src/boost.xml 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,757 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
+ "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
+<boostbook id="boost" xmlns:xi="http://www.w3.org/2001/XInclude"
+ last-revision="$Date: 2010-10-30 10:29:27 -0400 (Sat, 30 Oct 2010) $">
+ <title>The Boost C++ Libraries BoostBook Documentation Subset</title>
+
+ <preface id="about">
+ <title>What's Included in This Document</title>
+
+ <para>This document represents only a subset of the full Boost
+ documentation: that part which is generated from BoostBook or
+ QuickBook sources. Eventually all Boost libraries may use these
+ formats, but in the meantime, much of Boost's documentation is not
+ available here. Please
+ see <ulink
+ url="http://www.boost.org/libs">http://www.boost.org/libs>
+ for complete documentation.
+ </para>
+
+ <para>
+ Documentation for some of the libraries described in this document is
+ available in alternative formats:
+ <itemizedlist>
+ <listitem>
+ <simpara><link linkend="boost">HTML</link></simpara>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <simpara><ulink url="http://sourceforge.net/projects/boost/files/boost-docs/">PDF</ulink></simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ </preface>
+
+ <part id="libraries">
+ <title>The Boost C++ Libraries (BoostBook Subset)</title>
+
+ <xi:include href="accumulators.xml"/>
+
+ <xi:include href="../../libs/any/doc/any.xml"/>
+ <xi:include href="../../libs/array/doc/array.xml"/>
+
+ <library name="Asio" dirname="asio" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Christopher</firstname>
+ <surname>Kohlhoff</surname>
+ </author>
+
+ <librarypurpose>Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs</librarypurpose>
+ <librarycategory name="category:io"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Bind" dirname="bind" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Peter</firstname>
+ <surname>Dimov</surname>
+ </author>
+ <librarypurpose>Generalized binders for function/object/pointers and member functions</librarypurpose>
+ <librarycategory name="category:higher-order"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Mem_fn" dirname="bind" html-only="1"
+ url="../../libs/bind/mem_fn.html">
+ <libraryinfo>
+ <author>
+ <firstname>Peter</firstname>
+ <surname>Dimov</surname>
+ </author>
+ <librarypurpose>Generalized binders for member functions</librarypurpose>
+ <librarycategory name="category:higher-order"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Call Traits" dirname="call_traits" html-only="1"
+ url="../../libs/utility/call_traits.htm">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Maddock</surname>
+ </author>
+ <author>
+ <firstname>Howard</firstname>
+ <surname>Hinnant</surname>
+ </author>
+ <librarypurpose>Defines types for passing parameters</librarypurpose>
+ <librarycategory name="category:generic"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Circular Buffer" dirname="circular_buffer" html-only="1"
+ url="../../libs/circular_buffer/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Jan</firstname>
+ <surname>Gaspar</surname>
+ </author>
+ <librarypurpose>A STL compliant container also known as ring or cyclic buffer</librarypurpose>
+ <librarycategory name="category:containers"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Compatibility" dirname="compatibility" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Ralf</firstname>
+ <surname>Grosse-Kunstleve</surname>
+ </author>
+ <author>
+ <firstname>Jens</firstname>
+ <surname>Maurer</surname>
+ </author>
+ <librarypurpose>Help for non-conforming standard libraries</librarypurpose>
+ <librarycategory name="category:broken"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Compose" dirname="compose" html-only="1"
+ url="../../libs/compose/index.htm">
+ <libraryinfo>
+ <author>
+ <firstname>Nicolai</firstname>
+ <surname>Josuttis</surname>
+ </author>
+
+ <librarypurpose>Functional composition adapters for the STL</librarypurpose>
+ <librarycategory name="category:higher-order"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Compressed Pair" dirname="compressed_pair" html-only="1"
+ url="../../libs/utility/compressed_pair.htm">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Maddock</surname>
+ </author>
+ <author>
+ <firstname>Howard</firstname>
+ <surname>Hinnant</surname>
+ </author>
+ <librarypurpose>Empty member optimization</librarypurpose>
+ <librarycategory name="category:data-structures"/>
+ <librarycategory name="category:misc"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Concept Check" dirname="concept_check">
+ <libraryinfo>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+ <librarypurpose>Tools for generic programming</librarypurpose>
+ <librarycategory name="category:generic"/>
+ <librarycategory name="category:testing"/>
+ </libraryinfo>
+ <title>Boost.Concept_Check</title>
+ <xi:include href="../../libs/concept_check/doc/reference/concepts.xml"/>
+ </library>
+
+ <library name="Config" dirname="config" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Maddock</surname>
+ </author>
+ <author>
+ <firstname>Beman</firstname>
+ <surname>Dawes</surname>
+ </author>
+ <author>
+ <firstname>Vesa</firstname>
+ <surname>Karvonen</surname>
+ </author>
+
+ <librarypurpose>Helps boost library developers adapt to compiler idiosyncrasies; not intended for library users</librarypurpose>
+ <librarycategory name="category:broken"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Conversion" dirname="conversion" html-only="1"
+ url="../../libs/conversion/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Dave</firstname>
+ <surname>Abrahams</surname>
+ </author>
+ <author>
+ <firstname>Kevlin</firstname>
+ <surname>Henney</surname>
+ </author>
+
+ <librarypurpose>Numeric, polymorphic, and lexical casts</librarypurpose>
+ <librarycategory name="category:misc"/>
+ </libraryinfo>
+ </library>
+
+ <library name="CRC" dirname="crc" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Daryle</firstname>
+ <surname>Walker</surname>
+ </author>
+
+ <librarypurpose>Cyclic Redundancy Code</librarypurpose>
+ <librarycategory name="category:misc"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="../../libs/date_time/xmldoc/date_time.xml"/>
+
+ <library name="Dynamic Bitset" dirname="dynamic_bitset" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+ <author>
+ <firstname>Chuck</firstname>
+ <surname>Allison</surname>
+ </author>
+ <librarypurpose>A runtime sized version of <code>std::bitset</code></librarypurpose>
+ <librarycategory name="category:containers"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Format" dirname="format" html-only="1"
+ url="../../libs/format/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Samuel</firstname>
+ <surname>Krempp</surname>
+ </author>
+
+ <librarypurpose>Type-safe 'printf-like' format operations</librarypurpose>
+ <librarycategory name="category:string-text"/>
+ <librarycategory name="category:io"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Filesystem" dirname="filesystem" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Beman</firstname>
+ <surname>Dawes</surname>
+ </author>
+
+ <librarypurpose>Portable paths, iteration over directories, and other useful filesystem operations</librarypurpose>
+ <librarycategory name="category:misc"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="foreach.xml"/>
+
+ <xi:include href="../../libs/function/doc/function.xml"/>
+
+ <library name="Functional" dirname="functional" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Mark</firstname>
+ <surname>Rodgers</surname>
+ </author>
+ <librarypurpose>Enhanced function object adaptors</librarypurpose>
+ <librarycategory name="category:higher-order"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="hash.xml"/>
+
+ <library name="Graph" dirname="graph" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+ <author>
+ <firstname>University of Notre Dame</firstname>
+ <surname>Team</surname>
+ </author>
+ <librarypurpose>Generic graph components and algorithms</librarypurpose>
+ <librarycategory name="category:containers"/>
+ <librarycategory name="category:iterators"/>
+ <librarycategory name="category:algorithms"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Integer" dirname="integer" html-only="1"
+ url="../../libs/integer/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>various</firstname>
+ <surname>authors</surname>
+ </author>
+
+ <librarypurpose>Headers to ease dealing with integral types</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="interprocess.xml"/>
+
+ <library name="Interval" dirname="numeric/interval" html-only="1"
+ url="../../libs/numeric/interval/doc/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Guillaume</firstname>
+ <surname>Melquiond</surname>
+ </author>
+ <author>
+ <firstname>Hervé</firstname>
+ <surname>Brönnimann</surname>
+ </author>
+ <author>
+ <firstname>Sylvain</firstname>
+ <surname>Pion</surname>
+ </author>
+
+ <librarypurpose>Extends the usual arithmetic functions to mathematical intervals</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="intrusive.xml"/>
+
+ <library name="I/O State Savers" dirname="io" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Daryle</firstname>
+ <surname>Walker</surname>
+ </author>
+
+ <librarypurpose>Save I/O state to prevent jumbled data</librarypurpose>
+ <librarycategory name="category:io"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Iterator Adaptors" dirname="utility" html-only="1"
+ url="../../libs/utility/iterator_adaptors.htm">
+ <libraryinfo>
+ <author>
+ <firstname>Dave</firstname>
+ <surname>Abrahams</surname>
+ </author>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+ <author>
+ <firstname>John</firstname>
+ <surname>Potter</surname>
+ </author>
+
+ <librarypurpose>Adapt a base type into a standard conforming iterator</librarypurpose>
+ <librarycategory name="category:iterators"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="../../libs/lambda/doc/lambda.xml"/>
+
+ <library name="Math" dirname="math" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>various</firstname>
+ <surname>authors</surname>
+ </author>
+
+ <librarypurpose>Several contributions in the domain of mathematics</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Math/Common Factor" dirname="math/common_factor" html-only="1"
+ url="../../libs/math/doc/common_factor.html">
+ <libraryinfo>
+ <author>
+ <firstname>Daryle</firstname>
+ <surname>Walker</surname>
+ </author>
+
+ <librarypurpose>Greatest common divisor and least common multiple</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Math/Octonion" dirname="math/octonion" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Hubert</firstname>
+ <surname>Holin</surname>
+ </author>
+
+ <librarypurpose>Octonions</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Math/Quaternion" dirname="math/quaternion" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Hubert</firstname>
+ <surname>Holin</surname>
+ </author>
+
+ <librarypurpose>Quaternions</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Math/Special Functions" dirname="math/special_functions" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Hubert</firstname>
+ <surname>Holin</surname>
+ </author>
+
+ <librarypurpose>Mathematical special functions such as atanh, sinc, and sinhc</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="MPL" dirname="mpl" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Aleksey</firstname>
+ <surname>Gurtovoy</surname>
+ </author>
+
+ <librarypurpose>Template metaprogramming framework of compile-time algorithms, sequences and metafunction classes</librarypurpose>
+ <librarycategory name="category:template"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Multi Array" dirname="multi_array" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Ron</firstname>
+ <surname>Garcia</surname>
+ </author>
+
+ <librarypurpose>Multidimensional containers and adaptors for arrays of contiguous data</librarypurpose>
+ <librarycategory name="category:math"/>
+ <librarycategory name="category:containers"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Operators" dirname="utility" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Dave</firstname>
+ <surname>Abrahams</surname>
+ </author>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+
+ <librarypurpose>Templates ease arithmetic classes and iterators</librarypurpose>
+ <librarycategory name="category:generic"/>
+ <librarycategory name="category:iterators"/>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Optional" dirname="optional" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Fernando</firstname>
+ <surname>Cacciola</surname>
+ </author>
+
+ <librarypurpose>Discriminated-union wrapper for optional values</librarypurpose>
+ <librarycategory name="category:misc"/>
+ <librarycategory name="category:data-structures"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="mpi.xml"/>
+
+ <library name="Pool" dirname="pool" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Steve</firstname>
+ <surname>Cleary</surname>
+ </author>
+
+ <librarypurpose>Memory pool management</librarypurpose>
+ <librarycategory name="category:memory"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Preprocessor" dirname="preprocessor" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Vesa</firstname>
+ <surname>Karvonen</surname>
+ </author>
+ <author>
+ <firstname>Paul</firstname>
+ <surname>Mensonides</surname>
+ </author>
+
+ <librarypurpose>Preprocessor metaprogramming tools including repetition and recursion</librarypurpose>
+ <librarycategory name="category:preprocessor"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="../../libs/program_options/doc/program_options.xml"/>
+
+ <library name="Property Map" dirname="property_map" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Jeremy</firstname>
+ <surname>Siek</surname>
+ </author>
+ <librarypurpose>Concepts defining interfaces which map key objects to value objects</librarypurpose>
+ <librarycategory name="category:containers"/>
+ <librarycategory name="category:generic"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="property_tree.xml"/>
+
+ <xi:include href="proto.xml"/>
+
+ <library name="Python" dirname="python" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Dave</firstname>
+ <surname>Abrahams</surname>
+ </author>
+ <librarypurpose>Reflects C++ classes and functions into <ulink url="http://www.python.org">Python</ulink></librarypurpose>
+ <librarycategory name="category:lang"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="random.xml"/>
+
+ <library name="Rational" dirname="rational" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Paul</firstname>
+ <surname>Moore</surname>
+ </author>
+ <librarypurpose>A rational number class</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="../../libs/bind/doc/ref.xml"/>
+
+ <library name="Regex" dirname="regex" html-only="1"
+ url="../../libs/regex/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Maddock</surname>
+ </author>
+ <librarypurpose>Regular expression library</librarypurpose>
+ <librarycategory name="category:string-text"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Serialization" dirname="serialization" html-only="1"
+ url="../../libs/serialization/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Robert</firstname>
+ <surname>Ramey</surname>
+ </author>
+ <librarypurpose>Serialization of C++ objects for persistence and marshalling</librarypurpose>
+ <librarycategory name="category:io"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="../../libs/signals/doc/signals.xml"/>
+
+ <xi:include href="../../libs/signals2/doc/signals.xml"/>
+
+ <library name="Smart Pointer" dirname="smart_ptr" html-only="1"
+ url="../../libs/smart_ptr/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Greg</firstname>
+ <surname>Colvin</surname>
+ </author>
+ <author>
+ <firstname>Beman</firstname>
+ <surname>Dawes</surname>
+ </author>
+ <author>
+ <firstname>Peter</firstname>
+ <surname>Dimov</surname>
+ </author>
+ <author>
+ <firstname>Darin</firstname>
+ <surname>Adler</surname>
+ </author>
+ <librarypurpose>Six smart pointer class templates</librarypurpose>
+ <librarycategory name="category:memory"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Spirit" dirname="spirit" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Joel</firstname>
+ <surname>de Guzman</surname>
+ </author>
+ <author>
+ <firstname>team</firstname>
+ </author>
+
+ <librarypurpose>LL parser framework represents parsers directly as EBNF grammars in inlined C++</librarypurpose>
+ <librarycategory name="category:text"/>
+ <librarycategory name="category:parsing"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="static_assert.xml"/>
+
+ <xi:include href="../../libs/algorithm/string/doc/string_algo.xml"/>
+
+ <library name="Test" dirname="test" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Gennadiy</firstname>
+ <surname>Rozental</surname>
+ </author>
+ <librarypurpose>Support for simple program testing, full unit testing, and for program execution monitoring</librarypurpose>
+ <librarycategory name="category:testing"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="thread.xml"/>
+
+ <library name="Timer" dirname="timer" html-only="1"
+ url="../../libs/timer/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>Beman</firstname>
+ <surname>Dawes</surname>
+ </author>
+ <librarypurpose>Event timer, progress timer, and progress display classes</librarypurpose>
+ <librarycategory name="category:misc"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Tokenizer" dirname="tokenizer" html-only="1"
+ url="../../libs/tokenizer/index.html">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Bandela</surname>
+ </author>
+ <librarypurpose>Break of a string or other character sequence into a series of tokens</librarypurpose>
+ <librarycategory name="category:string-text"/>
+ <librarycategory name="category:iterators"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="tr1.xml"/>
+ <xi:include href="../../libs/logic/doc/tribool.boostbook"/>
+
+ <library name="Tuple" dirname="tuple" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Jaakko</firstname>
+ <surname>Järvi</surname>
+ </author>
+ <librarypurpose>Ease definition of functions returning multiple values, and more</librarypurpose>
+ <librarycategory name="category:data-structures"/>
+ </libraryinfo>
+ </library>
+
+ <library name="Type Traits" dirname="type_traits" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>John</firstname>
+ <surname>Maddock</surname>
+ </author>
+ <librarypurpose>Meta-programming support library.</librarypurpose>
+ <librarycategory name="category:generic"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="typeof.xml"/>
+
+ <library name="uBLAS" dirname="numeric/ublas" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Joerg</firstname>
+ <surname>Walter</surname>
+ </author>
+ <author>
+ <firstname>Mathias</firstname>
+ <surname>Koch</surname>
+ </author>
+ <librarypurpose>Basic linear algebra for dense, packed and sparse matrices</librarypurpose>
+ <librarycategory name="category:math"/>
+ </libraryinfo>
+ </library>
+
+ <xi:include href="units.xml"/>
+
+ <xi:include href="unordered.xml"/>
+
+ <library name="Utility" dirname="utility" html-only="1">
+ <libraryinfo>
+ <author>
+ <firstname>Dave</firstname>
+ <surname>Abrahams</surname>
+ </author>
+ <author>
+ <firstname>others</firstname>
+ </author>
+
+ <librarypurpose>Class noncopyable plus <functionname>checked_delete</functionname>, <functionname>checked_array_delete</functionname>, <functionname>next</functionname>, <functionname>prior</functionname> function templates, plus base-from-member idiom</librarypurpose>
+ <librarycategory name="category:misc"/>
+ <librarycategory name="category:memory"/>
+ <librarycategory name="category:algorithms"/>
+ </libraryinfo>
+ </library>
+ <xi:include href="../../libs/variant/doc/variant.xml"/>
+
+ <xi:include href="xpressive.xml"/>
+
+ </part>
+
+ <part id="tools">
+ <title>Boost Tools</title>
+ <partintro>
+ <para>
+ Boost developers, testers, and maintainers have developed various programs to
+ help with the administration of the Boost Libraries. Like everything else about
+ Boost, these tools are available in source form, and are part of the regular
+ Boost distribution.
+ </para>
+ <para>
+ Users may find these tools useful when porting Boost libraries to a new platform,
+ or for use with their own applications.
+ </para>
+ </partintro>
+ <xi:include href="../../tools/boostbook/doc/boostbook.xml"/>
+ <xi:include href="quickbook.xml"/>
+ <xi:include href="jam_docs.xml"/>
+ <xi:include href="../../tools/build/v2/doc/src/userman.xml"/>
+ </part>
+</boostbook>
+
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/boostbook.css
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/src/boostbook.css 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,601 @@
+/*=============================================================================
+ Copyright (c) 2004 Joel de Guzman
+ http://spirit.sourceforge.net/
+
+ Distributed under the Boost Software License, Version 1.0. (See accompany-
+ ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+
+/*=============================================================================
+ Body defaults
+=============================================================================*/
+
+ body
+ {
+ margin: 1em;
+ font-family: sans-serif;
+ }
+
+/*=============================================================================
+ Paragraphs
+=============================================================================*/
+
+ p
+ {
+ text-align: left;
+ font-size: 10pt;
+ line-height: 1.15;
+ }
+
+/*=============================================================================
+ Program listings
+=============================================================================*/
+
+ /* Code on paragraphs */
+ p tt.computeroutput
+ {
+ font-size: 9pt;
+ }
+
+ pre.synopsis
+ {
+ font-size: 9pt;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ .programlisting,
+ .screen
+ {
+ font-size: 9pt;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ /* Program listings in tables don't get borders */
+ td .programlisting,
+ td .screen
+ {
+ margin: 0pc 0pc 0pc 0pc;
+ padding: 0pc 0pc 0pc 0pc;
+ }
+
+/*=============================================================================
+ Headings
+=============================================================================*/
+
+ h1, h2, h3, h4, h5, h6
+ {
+ text-align: left;
+ margin: 1em 0em 0.5em 0em;
+ font-weight: bold;
+ }
+
+ h1 { font: 140% }
+ h2 { font: bold 140% }
+ h3 { font: bold 130% }
+ h4 { font: bold 120% }
+ h5 { font: italic 110% }
+ h6 { font: italic 100% }
+
+ /* Top page titles */
+ title,
+ h1.title,
+ h2.title
+ h3.title,
+ h4.title,
+ h5.title,
+ h6.title,
+ .refentrytitle
+ {
+ font-weight: bold;
+ margin-bottom: 1pc;
+ }
+
+ h1.title { font-size: 140% }
+ h2.title { font-size: 140% }
+ h3.title { font-size: 130% }
+ h4.title { font-size: 120% }
+ h5.title { font-size: 110% }
+ h6.title { font-size: 100% }
+
+ .section h1
+ {
+ margin: 0em 0em 0.5em 0em;
+ font-size: 140%;
+ }
+
+ .section h2 { font-size: 140% }
+ .section h3 { font-size: 130% }
+ .section h4 { font-size: 120% }
+ .section h5 { font-size: 110% }
+ .section h6 { font-size: 100% }
+
+ /* Code on titles */
+ h1 tt.computeroutput { font-size: 140% }
+ h2 tt.computeroutput { font-size: 140% }
+ h3 tt.computeroutput { font-size: 130% }
+ h4 tt.computeroutput { font-size: 130% }
+ h5 tt.computeroutput { font-size: 130% }
+ h6 tt.computeroutput { font-size: 130% }
+
+
+/*=============================================================================
+ Author
+=============================================================================*/
+
+ h3.author
+ {
+ font-size: 100%
+ }
+
+/*=============================================================================
+ Lists
+=============================================================================*/
+
+ li
+ {
+ font-size: 10pt;
+ line-height: 1.3;
+ }
+
+ /* Unordered lists */
+ ul
+ {
+ text-align: left;
+ }
+
+ /* Ordered lists */
+ ol
+ {
+ text-align: left;
+ }
+
+/*=============================================================================
+ Links
+=============================================================================*/
+
+ a
+ {
+ text-decoration: none; /* no underline */
+ }
+
+ a:hover
+ {
+ text-decoration: underline;
+ }
+
+/*=============================================================================
+ Spirit style navigation
+=============================================================================*/
+
+ .spirit-nav
+ {
+ text-align: right;
+ }
+
+ .spirit-nav a
+ {
+ color: white;
+ padding-left: 0.5em;
+ }
+
+ .spirit-nav img
+ {
+ border-width: 0px;
+ }
+
+/*=============================================================================
+ Copyright footer
+=============================================================================*/
+ .copyright-footer
+ {
+ text-align: right;
+ font-size: 70%;
+ }
+
+ .copyright-footer p
+ {
+ text-align: right;
+ font-size: 80%;
+ }
+
+/*=============================================================================
+ Table of contents
+=============================================================================*/
+
+ .toc
+ {
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.1pc 1pc 0.1pc 1pc;
+ font-size: 80%;
+ line-height: 1.15;
+ }
+
+ .boost-toc
+ {
+ float: right;
+ padding: 0.5pc;
+ }
+
+ /* Code on toc */
+ .toc .computeroutput { font-size: 120% }
+
+/*=============================================================================
+ Tables
+=============================================================================*/
+
+ .table-title,
+ div.table p.title
+ {
+ margin-left: 4%;
+ padding-right: 0.5em;
+ padding-left: 0.5em;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ width: 92%;
+ margin-left: 4%;
+ margin-right: 4%;
+ }
+
+ div.informaltable table,
+ div.table table
+ {
+ padding: 4px;
+ }
+
+ /* Table Cells */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ padding: 0.5em;
+ text-align: left;
+ font-size: 9pt;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ padding: 0.5em 0.5em 0.5em 0.5em;
+ border: 1pt solid white;
+ font-size: 80%;
+ }
+
+ table.simplelist
+ {
+ width: auto !important;
+ margin: 0em !important;
+ padding: 0em !important;
+ border: none !important;
+ }
+ table.simplelist td
+ {
+ margin: 0em !important;
+ padding: 0em !important;
+ text-align: left !important;
+ font-size: 9pt !important;
+ border: none !important;
+ }
+
+/*=============================================================================
+ Blurbs
+=============================================================================*/
+
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ font-size: 9pt; /* A little bit smaller than the main text */
+ line-height: 1.2;
+ display: block;
+ margin: 1pc 4% 0pc 4%;
+ padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+ }
+
+ p.blurb img
+ {
+ padding: 1pt;
+ }
+
+/*=============================================================================
+ Variable Lists
+=============================================================================*/
+
+ div.variablelist
+ {
+ margin: 1em 0;
+ }
+
+ /* Make the terms in definition lists bold */
+ div.variablelist dl dt,
+ span.term
+ {
+ font-weight: bold;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td
+ {
+ text-align: left;
+ vertical-align: top;
+ padding: 0em 2em 0em 0em;
+ font-size: 10pt;
+ margin: 0em 0em 0.5em 0em;
+ line-height: 1;
+ }
+
+ div.variablelist dl dt
+ {
+ margin-bottom: 0.2em;
+ }
+
+ div.variablelist dl dd
+ {
+ margin: 0em 0em 0.5em 2em;
+ font-size: 10pt;
+ }
+
+ div.variablelist table tbody tr td p,
+ div.variablelist dl dd p
+ {
+ margin: 0em 0em 0.5em 0em;
+ line-height: 1;
+ }
+
+/*=============================================================================
+ Misc
+=============================================================================*/
+
+ /* Title of books and articles in bibliographies */
+ span.title
+ {
+ font-style: italic;
+ }
+
+ span.underline
+ {
+ text-decoration: underline;
+ }
+
+ span.strikethrough
+ {
+ text-decoration: line-through;
+ }
+
+ /* Copyright, Legal Notice */
+ div div.legalnotice p
+ {
+ text-align: left
+ }
+
+/*=============================================================================
+ Colors
+=============================================================================*/
+
+ @media screen
+ {
+ body {
+ background-color: #FFFFFF;
+ color: #000000;
+ }
+
+ /* Syntax Highlighting */
+ .keyword { color: #0000AA; }
+ .identifier { color: #000000; }
+ .special { color: #707070; }
+ .preprocessor { color: #402080; }
+ .char { color: teal; }
+ .comment { color: #800000; }
+ .string { color: teal; }
+ .number { color: teal; }
+ .white_bkd { background-color: #FFFFFF; }
+ .dk_grey_bkd { background-color: #999999; }
+
+ /* Links */
+ a, a .keyword, a .identifier, a .special, a .preprocessor
+ a .char, a .comment, a .string, a .number
+ {
+ color: #005a9c;
+ }
+
+ a:visited, a:visited .keyword, a:visited .identifier,
+ a:visited .special, a:visited .preprocessor a:visited .char,
+ a:visited .comment, a:visited .string, a:visited .number
+ {
+ color: #9c5a9c;
+ }
+
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
+ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
+ h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
+ {
+ text-decoration: none; /* no underline */
+ color: #000000;
+ }
+
+ /* Copyright, Legal Notice */
+ .copyright
+ {
+ color: #666666;
+ font-size: small;
+ }
+
+ div div.legalnotice p
+ {
+ color: #666666;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid #DCDCDC;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid #DCDCDC;
+ }
+
+ td .programlisting,
+ td .screen
+ {
+ border: 0px solid #DCDCDC;
+ }
+
+ /* Blurbs */
+ div.note,
+ div.tip,
+ div.important,
+ div.caution,
+ div.warning,
+ p.blurb
+ {
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid #DCDCDC;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid #DCDCDC;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ background-color: #F0F0F0;
+ border: 1px solid #DCDCDC;
+ }
+
+ .copyright-footer
+ {
+ color: #8F8F8F;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ color: #00A000;
+ }
+ }
+
+ @media print
+ {
+ /* Links */
+ a
+ {
+ color: black;
+ }
+
+ a:visited
+ {
+ color: black;
+ }
+
+ .spirit-nav
+ {
+ display: none;
+ }
+
+ /* Program listing */
+ pre.synopsis
+ {
+ border: 1px solid gray;
+ }
+
+ .programlisting,
+ .screen
+ {
+ border: 1px solid gray;
+ }
+
+ td .programlisting,
+ td .screen
+ {
+ border: 0px solid #DCDCDC;
+ }
+
+ /* Table of contents */
+ .toc
+ {
+ border: 1px solid gray;
+ }
+
+ .informaltable table,
+ .table table
+ {
+ border: 1px solid gray;
+ border-collapse: collapse;
+ }
+
+ /* Tables */
+ div.informaltable table tr td,
+ div.table table tr td
+ {
+ border: 1px solid gray;
+ }
+
+ div.informaltable table tr th,
+ div.table table tr th
+ {
+ border: 1px solid gray;
+ }
+
+ table.simplelist tr td
+ {
+ border: none !important;
+ }
+
+ /* Misc */
+ span.highlight
+ {
+ font-weight: bold;
+ }
+ }
+
+/*=============================================================================
+ Images
+=============================================================================*/
+
+ span.inlinemediaobject img
+ {
+ vertical-align: middle;
+ }
+
+/*==============================================================================
+ Super and Subscript: style so that line spacing isn't effected, see
+ http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
+==============================================================================*/
+
+sup,
+sub {
+ height: 0;
+ line-height: 1;
+ vertical-align: baseline;
+ _vertical-align: bottom;
+ position: relative;
+
+}
+
+sup {
+ bottom: 1ex;
+}
+
+sub {
+ top: .5ex;
+}
+
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/docutils.css
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/src/docutils.css 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,275 @@
+/*
+:Author: David Goodger
+:Contact: goodger_at_[hidden]
+:Date: $Date: 2007-04-17 00:44:59 -0400 (Tue, 17 Apr 2007) $
+:Revision: $Revision: 37457 $
+:Copyright: This stylesheet has been placed in the public domain.
+
+Default cascading style sheet for the HTML output of Docutils.
+
+See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
+customize this style sheet.
+*/
+
+/* used to remove borders from tables and images */
+.borderless, table.borderless td, table.borderless th {
+ border: 0 }
+
+table.borderless td, table.borderless th {
+ /* Override padding for "table.docutils td" with "! important".
+ The right padding separates the table cells. */
+ padding: 0 0.5em 0 0 ! important }
+
+.first {
+ /* Override more specific margin styles with "! important". */
+ margin-top: 0 ! important }
+
+.last, .with-subtitle {
+ margin-bottom: 0 ! important }
+
+.hidden {
+ display: none }
+
+a.toc-backref {
+ text-decoration: none ;
+ color: black }
+
+blockquote.epigraph {
+ margin: 2em 5em ; }
+
+dl.docutils dd {
+ margin-bottom: 0.5em }
+
+/* Uncomment (and remove this text!) to get bold-faced definition list terms
+dl.docutils dt {
+ font-weight: bold }
+*/
+
+div.abstract {
+ margin: 2em 5em }
+
+div.abstract p.topic-title {
+ font-weight: bold ;
+ text-align: center }
+
+div.admonition, div.attention, div.caution, div.danger, div.error,
+div.hint, div.important, div.note, div.tip, div.warning {
+ margin: 2em ;
+ border: medium outset ;
+ padding: 1em }
+
+div.admonition p.admonition-title, div.hint p.admonition-title,
+div.important p.admonition-title, div.note p.admonition-title,
+div.tip p.admonition-title {
+ font-weight: bold ;
+ font-family: sans-serif }
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title {
+ color: red ;
+ font-weight: bold ;
+ font-family: sans-serif }
+
+/* Uncomment (and remove this text!) to get reduced vertical space in
+ compound paragraphs.
+div.compound .compound-first, div.compound .compound-middle {
+ margin-bottom: 0.5em }
+
+div.compound .compound-last, div.compound .compound-middle {
+ margin-top: 0.5em }
+*/
+
+div.dedication {
+ margin: 2em 5em ;
+ text-align: center ;
+ font-style: italic }
+
+div.dedication p.topic-title {
+ font-weight: bold ;
+ font-style: normal }
+
+div.figure {
+ margin-left: 2em ;
+ margin-right: 2em }
+
+div.footer, div.header {
+ clear: both;
+ font-size: smaller }
+
+div.line-block {
+ display: block ;
+ margin-top: 1em ;
+ margin-bottom: 1em }
+
+div.line-block div.line-block {
+ margin-top: 0 ;
+ margin-bottom: 0 ;
+ margin-left: 1.5em }
+
+div.sidebar {
+ margin-left: 1em ;
+ border: medium outset ;
+ padding: 1em ;
+ background-color: #ffffee ;
+ width: 40% ;
+ float: right ;
+ clear: right }
+
+div.sidebar p.rubric {
+ font-family: sans-serif ;
+ font-size: medium }
+
+div.system-messages {
+ margin: 5em }
+
+div.system-messages h1 {
+ color: red }
+
+div.system-message {
+ border: medium outset ;
+ padding: 1em }
+
+div.system-message p.system-message-title {
+ color: red ;
+ font-weight: bold }
+
+div.topic {
+ margin: 2em }
+
+h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
+h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
+ margin-top: 0.4em }
+
+h1.title {
+ text-align: center }
+
+h2.subtitle {
+ text-align: center }
+
+hr.docutils {
+ width: 75% }
+
+img.align-left {
+ clear: left }
+
+img.align-right {
+ clear: right }
+
+ol.simple, ul.simple {
+ margin-bottom: 1em }
+
+ol.arabic {
+ list-style: decimal }
+
+ol.loweralpha {
+ list-style: lower-alpha }
+
+ol.upperalpha {
+ list-style: upper-alpha }
+
+ol.lowerroman {
+ list-style: lower-roman }
+
+ol.upperroman {
+ list-style: upper-roman }
+
+p.attribution {
+ text-align: right ;
+ margin-left: 50% }
+
+p.caption {
+ font-style: italic }
+
+p.credits {
+ font-style: italic ;
+ font-size: smaller }
+
+p.label {
+ white-space: nowrap }
+
+p.rubric {
+ font-weight: bold ;
+ font-size: larger ;
+ color: maroon ;
+ text-align: center }
+
+p.sidebar-title {
+ font-family: sans-serif ;
+ font-weight: bold ;
+ font-size: larger }
+
+p.sidebar-subtitle {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+p.topic-title {
+ font-weight: bold }
+
+pre.address {
+ margin-bottom: 0 ;
+ margin-top: 0 ;
+ font-family: serif ;
+ font-size: 100% }
+
+pre.literal-block, pre.doctest-block {
+ margin-left: 2em ;
+ margin-right: 2em }
+
+span.classifier {
+ font-family: sans-serif ;
+ font-style: oblique }
+
+span.classifier-delimiter {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+span.interpreted {
+ font-family: sans-serif }
+
+span.option {
+ white-space: nowrap }
+
+span.pre {
+ white-space: pre }
+
+span.problematic {
+ color: red }
+
+span.section-subtitle {
+ /* font-size relative to parent (h1..h6 element) */
+ font-size: 80% }
+
+table.citation {
+ border-left: solid 1px gray;
+ margin-left: 1px }
+
+table.docinfo {
+ margin: 2em 4em }
+
+table.docutils {
+ margin-top: 0.5em ;
+ margin-bottom: 0.5em }
+
+table.footnote {
+ border-left: solid 1px black;
+ margin-left: 1px }
+
+table.docutils td, table.docutils th,
+table.docinfo td, table.docinfo th {
+ padding-left: 0.5em ;
+ padding-right: 0.5em ;
+ vertical-align: top }
+
+table.docutils th.field-name, table.docinfo th.docinfo-name {
+ font-weight: bold ;
+ text-align: left ;
+ white-space: nowrap ;
+ padding-left: 0 }
+
+h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
+h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
+ font-size: 100% }
+
+ul.auto-toc {
+ list-style-type: none }
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/alert.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/1.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/10.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/11.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/12.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/13.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/14.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/15.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/2.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/3.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/4.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/5.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/6.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/7.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/8.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/callouts/9.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/caution.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/draft.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/home.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/important.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/next.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/next_disabled.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/note.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/prev.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/prev_disabled.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/smiley.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/tip.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-blank.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-minus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/toc-plus.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/up.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/up_disabled.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/images/warning.png
==============================================================================
Binary file. No diff available.
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/minimal.css
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/src/minimal.css 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,29 @@
+/*
+
+ © Copyright Beman Dawes, 2007
+
+ Distributed under the Boost Software License, Version 1.0.
+ See www.boost.org/LICENSE_1_0.txt
+
+*/
+
+/*******************************************************************************
+ Body
+*******************************************************************************/
+
+body { font-family: sans-serif; margin: 1em; }
+
+/*******************************************************************************
+ Table
+*******************************************************************************/
+
+table { margin: 0.5em; }
+
+/*******************************************************************************
+ Font sizes
+*******************************************************************************/
+
+p, td, li, blockquote { font-size: 10pt; }
+pre { font-size: 9pt; }
+
+/*** end ***/
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/src/reference.css
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/src/reference.css 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,11 @@
+/*============================================================================
+ Copyright 2003-2004 Douglas Gregor
+ Distributed under the Boost Software License, Version 1.0. (See accompany-
+ ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+============================================================================*/
+
+PRE.synopsis {
+ background-color: #e0ffff;
+ border: thin solid blue;
+ padding: 1em
+}
Added: sandbox/assign_v2/libs/assign/v2/doc_copy/tut.qbk
==============================================================================
--- (empty file)
+++ sandbox/assign_v2/libs/assign/v2/doc_copy/tut.qbk 2011-03-25 21:45:32 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,107 @@
+[heading Requisites]
+
+As shown in section [link full_include Organization], we assume in this tutorial that all the header files are included, and, in
+addition,
+``
+ using namespace boost::assign::v2;
+``
+
+Headers from other libraries will not be shown in the code snippets of this tutorial, but they can be found in the tutorial's
+actual [@../../tutorial.cpp source file].
+
+[heading Assigning]
+
+In the [link boost_assign_v2.intro introduction]'s example we encountered the operation which gives this library
+its name, assign-ment, in this case, of an [tpl_boost_array array]'s elements. Throughout this library, we call
+[link boost_assign_v2.reference.interpreter ['interpreter]] the object returned by [link boost_assign_v2.reference.put `__fun_put__( __cont__ )`].
+In this example, it was invoked over one set of values (`"+"`, `"-"`, etc.), each specified individually, and another set passed as a
+[tpl_concept_range range] with a special wrapper around it, `__fun_as_arg_list__( numeric )`. The wrapper tells the interpreter to process each of
+its elements as individual arguments.
+
+[heading Pointer-containers]
+
+The same interface works similarly for pointer containers [footnote One exception is `ptr_map<>` whose implementation is pending]:
+[tutorial_ptr_container]
+
+[heading Csv]
+
+The call to `csv` that just precedes [footnote ['csv] stands for comma separated values] is equivalent to `__fun_put__( assoc )( x )( y )( z )`.
+Similarly, where ['csv] is the prefix of a generating function's identifier, it indicates that a unary functor, whose identifier is a namesake
+of the suffix, is evaluated successively for each of the arguments. For example, container generating function `__fun_csv_deque__` is
+paired to `__fun_deque__`.
+
+[heading Piping]
+
+Here, we'd like to put a set of values in a container, and in the same statement, pass it through a mutating [tpl_range_algo algorithm]:
+[tutorial_piping]
+
+It is the vertical bar, `|`, which expresses the on-the-fly modification we were looking for. Such an expression is referred to as
+[link boost_assign_v2.reference.pipe ['piping]] throughout this library, after the related [tpl_pipe idiom] by the same name
+[footnote Also see [tpl_range_adaptor Boost.Range ]'s version ]. What it does is equivalent to invoking `csv( __fun_put__( __cont__ ), 0, 1, 2, 3, 4, 5 )` but,
+in addition, returns `__cont__`.
+
+[heading Container generation]
+
+Having, in the same statement, assigned `cont` and passed it through a [@http://www.boost.org/doc/libs/1_46_0/libs/range/doc/html/range/reference/algorithms/mutating/stable_partition.html stable partition algorithm],
+let's verify that what was intended matches the state of the container:
+[tutorial_container_generation]
+
+[heading Reference arrays]
+
+The other container generating function is [link boost_assign_v2.reference.ref `__fun_ref_csv_array__`][footnote For consistency,
+there exists a functor form, [link boost_assign_v2.reference.ref `__fun_ref_array__`] but, since it is slow, we don't advertize it.]. The returned
+container is, more specifically, an array of reference wrappers, which we designate as ['reference array] in this library. In the example that precedes,
+either could be substituted for `__fun_csv_deque__`. The reciprocal is not true, in general. A reference array is preferable if the values are expensive
+to copy, and necessary for working specifically with references, such as as follows:
+
+[tutorial_ref_array]
+
+[heading Chaining]
+
+Chaining ranges is already provided as [tpl_range_join `join`] in __url_boost__. Here's a variant that caters in special way to reference arrays:
+[tutorial_chain]
+
+The odd thing to notice is that this algorithm modifies `six`, `seven` and `eight` even though the array returned by `ref::csv_array` is
+an rvalue. The keyword `ref::_get` is necessary in conjunction with a reference array whose references are to be modified (in read mode, instead,
+implicit conversion takes care of it).
+
+[heading Conversion]
+
+Even a not so standard container, such as a [tpl_stl_adapter container adapter], can be copy constructed from a container of the
+same type. Combining a container generating function with a conversion tool gives us the recipe, therefore, for initializing such
+(and more versatile) containers:
+[tutorial_conversion]
+
+The conversion, here, is implicit, and is made possible by a conversion operator fitted to the object returned by `__fun_converter__`. See the
+relevant [link boost_assign_v2.reference.conversion section] about explicit conversion.
+
+[heading Data-member generation]
+
+The capabalities of `__fun_put__` and `__fun_deque__` vs their csv counterparts become apparent when we need to forward arguments to the `__cont__`'s
+value-type (a.k.a data member). For example, [tutorial_data_gen]
+
+[heading Automatic deduction]
+
+We have seen that `__fun_put__` was applied to different containers, whether [tpl_boost_array arrays], [tpl_stl_assoc Associative] containers, etc.
+This follows from an internal mechanism that deduces from the container's type appropriate
+
+* Data-generation. The rules are [link data_gen_rules here]
+* Modifier. The rules are [link modifier_rules here].
+
+[heading Options]
+
+Either of the implementation components just mentioned can be overriden. Operator `%` is reserved for this kind of task and can be composed. The
+relevant section is __link_option__.
+
+In addition to the [link boost_assign_v2.reference.option standard modifiers] such as `__kwd_push_back__`, the library caters to more complex needs
+e.g.
+[tutorial_option]
+
+[heading Custom options]
+
+[link option_modifier Extending] the library with new modifiers is fairly easy. We briefly summarize how:
+
+* Create a class template, called a ['tag], that identifies the new class of modifiers. The template parameter specifies a variable aspect of the implementation.
+* Specialize a library declared [link interpreter_modifier modifier] on ['tag] to model a concept, with the desired semantics.
+* Register the above by expanding two macros taking as input the desired option name and some meta-information.
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk