Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60530 - in sandbox/statistics/detail/assign/libs/assign: doc example src
From: erwann.rogard_at_[hidden]
Date: 2010-03-12 20:23:23


Author: e_r
Date: 2010-03-12 20:23:22 EST (Fri, 12 Mar 2010)
New Revision: 60530
URL: http://svn.boost.org/trac/boost/changeset/60530

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/libs/assign/doc/index.html | 41 ++++++++++++++++++++++++++++++++++-----
   sandbox/statistics/detail/assign/libs/assign/example/chain.cpp | 1
   sandbox/statistics/detail/assign/libs/assign/src/main.cpp | 2
   3 files changed, 36 insertions(+), 8 deletions(-)

Modified: sandbox/statistics/detail/assign/libs/assign/doc/index.html
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/doc/index.html (original)
+++ sandbox/statistics/detail/assign/libs/assign/doc/index.html 2010-03-12 20:23:22 EST (Fri, 12 Mar 2010)
@@ -64,7 +64,6 @@
         <li>Functions repeat(), repeat_fun() and
                                                                       <a href="#ref-repeat_ref"><code>range()</code>
                                                                       </a></li>
- <li>Functions chain_auto_convert()</li>
         <li>Customizing argument list sizes </li>
      </ul>
     <li>
@@ -75,6 +74,7 @@
         <li> Proxy object list_inserter<></li>
         <li> Proxy object static_generic_list<> </li>
         <li> Proxy object array_interface<> </li>
+ <li> Proxy object chainable<> </li>
         <li> Proxy object expr<> </li>
         <li> Proxy object lazy_array<> </li>
         <li> Proxy object static_array<> </li>
@@ -1150,6 +1150,7 @@
         <li> Proxy object list_inserter<></li>
         <li> Proxy object static_generic_list<> </li>
         <li> Proxy object array_interface<> </li>
+ <li> Proxy object chainable<> </li>
         <li> Proxy object expr<> </li>
         <li> Proxy object lazy_array<> </li>
         <li> Proxy object static_array<> </li>
@@ -1510,6 +1511,7 @@
           <table cellpadding=5 border=1>
           <tr><th class="head">Expression</th> <th class="head">Description</th>
           <tr><td><tt>R&lt;T&gt;</tt></td><td> Reference wrapper </td> </tr>
+ <tr><td>chainable<></td><td> Public base class of array_interface<></td> </tr>
           <tr><td>converter<></td><td> Public base class of array_interface<></td> </tr>
           </table>
   </blockquote>
@@ -1526,7 +1528,37 @@
           </table>
   </blockquote>
 
+ <h3><a name="ref-chainable">Proxy object <code>chainable&lt;&gt;</code></a></h3>
 
+ <p>
+ <b>Template parameters</b>
+ </p>
+
+ <blockquote>
+ <table cellpadding=5 border=1>
+ <tr><th class="head">Parameter</th> <th class="head">Description</th>
+ <tr><td><tt>D</tt></td><td> Derived </td> </tr>
+ </table>
+ </blockquote>
+
+ <p>
+ <b>Associated types</b>
+ </p>
+
+ To be defined.
+
+ <p>
+ <b>Requirements</b>
+ </p>
+
+ To be defined.
+
+ <p>
+ <b>Synopsis</b>
+ </p>
+
+ To be defined.
+
   <h3><a name="ref-expr">Proxy object <code>expr&lt;&gt;</code></a></h3>
     <p>
   <b>Header</b> <code>&lt;boost/assign/auto_size/detail/expr.hpp></code>
@@ -1631,11 +1663,8 @@
    The successive arguments that are passed to the unary operator must be allocated on the stack.
    Consequently, this set up is ill-suited for the method <code>range()</code> whose argument size must
    be specified explicitly (unless its argument has static size), unlike the remainder of this library.
- A fully auto-size framework could be achieved, by having <code>auto_size::expr&lt;&gt;</code> expose a member function
- <code>concat()</code>, that returns a proxy object whose task is to aggregate collections,
- similarly to <code>chain()</code> in Boost.RangeEx.
- Such a project is being developed in directory <code>assign&#47;chain</code>.
-
+ For a similar interface, it is recommended to choose a policy, such as array_interface, that
+ interoperates with the function chain_auto_convert().
 </p>
   <h3><a name="ref-lazy_array">Proxy object <code>lazy_array&lt;&gt;</code></a></h3>
   <b>Header</b> <code>&lt;boost/assign/auto_size/array/lazy.hpp></code>

Modified: sandbox/statistics/detail/assign/libs/assign/example/chain.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/chain.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/chain.cpp 2010-03-12 20:23:22 EST (Fri, 12 Mar 2010)
@@ -21,7 +21,6 @@
 
     boost::assign::detail::chain_mpl_check::compound();
  
-
     using namespace boost::assign;
     using namespace boost::assign::detail;
         os << "-> test_chain: " << std::endl;

Modified: sandbox/statistics/detail/assign/libs/assign/src/main.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/src/main.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/src/main.cpp 2010-03-12 20:23:22 EST (Fri, 12 Mar 2010)
@@ -12,7 +12,7 @@
     //boost::assign::detail::auto_size::check_ref_csv<int>();
     //std::cout << "check_ref_csv : ok" << std::endl;
 
- //example_chain(std::cout);
+ example_chain(std::cout);
 
     return 0;
 


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