2007-11-06 12:13:52 +00:00
< html >
< head >
2009-12-11 21:01:22 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=US-ASCII" >
2007-11-06 12:13:52 +00:00
< title > boost::tuple< / title >
2010-07-04 19:20:50 +00:00
< link rel = "stylesheet" href = "../../../../../../doc/src/boostbook.css" type = "text/css" >
< meta name = "generator" content = "DocBook XSL Stylesheets V1.75.2" >
2009-12-11 21:01:22 +00:00
< link rel = "home" href = "../../index.html" title = "Chapter 1. Fusion 2.0" >
2007-11-06 12:13:52 +00:00
< link rel = "up" href = "../adapted.html" title = "Adapted" >
2009-09-25 00:21:53 +00:00
< link rel = "prev" href = "boost__array.html" title = "boost::array" >
< link rel = "next" href = "adapt_struct.html" title = "BOOST_FUSION_ADAPT_STRUCT" >
2007-11-06 12:13:52 +00:00
< / 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 >
2008-07-17 23:59:22 +00:00
< td align = "center" > < a href = "../../../../../../index.html" > Home< / a > < / td >
2010-07-04 19:20:50 +00:00
< td align = "center" > < a href = "../../../../../../libs/libraries.htm" > Libraries< / a > < / td >
2008-07-17 23:59:22 +00:00
< td align = "center" > < a href = "http://www.boost.org/users/people.html" > People< / a > < / td >
< td align = "center" > < a href = "http://www.boost.org/users/faq.html" > FAQ< / a > < / td >
2007-11-06 12:13:52 +00:00
< td align = "center" > < a href = "../../../../../../more/index.htm" > More< / a > < / td >
< / tr > < / table >
< hr >
< div class = "spirit-nav" >
2010-07-04 19:20:50 +00:00
< a accesskey = "p" href = "boost__array.html" > < img src = "../../../../../../doc/src/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../adapted.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 = "adapt_struct.html" > < img src = "../../../../../../doc/src/images/next.png" alt = "Next" > < / a >
2007-11-06 12:13:52 +00:00
< / div >
2010-06-03 08:29:23 +00:00
< div class = "section" >
2009-09-25 00:21:53 +00:00
< div class = "titlepage" > < div > < div > < h3 class = "title" >
< a name = "fusion.adapted.boost__tuple" > < / a > < a class = "link" href = "boost__tuple.html" title = "boost::tuple" > boost::tuple< / a >
< / h3 > < / div > < / div > < / div >
2007-11-06 12:13:52 +00:00
< p >
2009-09-25 00:21:53 +00:00
This module provides adapters for < code class = "computeroutput" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > tuple< / span > < / code > .
Including the module header makes < code class = "computeroutput" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > tuple< / span > < / code >
a fully conforming < a class = "link" href = "../sequence/concepts/forward_sequence.html" title = "Forward Sequence" > Forward
2007-11-06 12:13:52 +00:00
Sequence< / a > .
< / p >
2009-09-25 00:21:53 +00:00
< a name = "fusion.adapted.boost__tuple.header" > < / a > < h5 >
2010-12-29 19:54:59 +00:00
< a name = "id926856" > < / a >
2009-09-25 00:21:53 +00:00
< a class = "link" href = "boost__tuple.html#fusion.adapted.boost__tuple.header" > Header< / a >
< / h5 >
2009-02-22 06:27:12 +00:00
< pre class = "programlisting" > < span class = "preprocessor" > #include< / span > < span class = "special" > < < / span > < span class = "identifier" > boost< / span > < span class = "special" > /< / span > < span class = "identifier" > fusion< / span > < span class = "special" > /< / span > < span class = "identifier" > adapted< / span > < span class = "special" > /< / span > < span class = "identifier" > boost_tuple< / span > < span class = "special" > .< / span > < span class = "identifier" > hpp< / span > < span class = "special" > > < / span >
2007-11-06 12:13:52 +00:00
< span class = "preprocessor" > #include< / span > < span class = "special" > < < / span > < span class = "identifier" > boost< / span > < span class = "special" > /< / span > < span class = "identifier" > fusion< / span > < span class = "special" > /< / span > < span class = "identifier" > include< / span > < span class = "special" > /< / span > < span class = "identifier" > boost_tuple< / span > < span class = "special" > .< / span > < span class = "identifier" > hpp< / span > < span class = "special" > > < / span >
< / pre >
2009-09-25 00:21:53 +00:00
< a name = "fusion.adapted.boost__tuple.model_of" > < / a > < h5 >
2010-12-29 19:54:59 +00:00
< a name = "id926964" > < / a >
2009-09-25 00:21:53 +00:00
< a class = "link" href = "boost__tuple.html#fusion.adapted.boost__tuple.model_of" > Model of< / a >
< / h5 >
2010-06-13 01:45:12 +00:00
< div class = "itemizedlist" > < ul class = "itemizedlist" type = "disc" > < li class = "listitem" >
< a class = "link" href = "../sequence/concepts/forward_sequence.html" title = "Forward Sequence" > Forward Sequence< / a >
< / li > < / ul > < / div >
2009-09-25 00:21:53 +00:00
< a name = "fusion.adapted.boost__tuple.example" > < / a > < h5 >
2010-12-29 19:54:59 +00:00
< a name = "id926993" > < / a >
2009-09-25 00:21:53 +00:00
< a class = "link" href = "boost__tuple.html#fusion.adapted.boost__tuple.example" > Example< / a >
< / h5 >
2009-02-22 06:27:12 +00:00
< pre class = "programlisting" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > tuple< / span > < span class = "special" > < < / span > < span class = "keyword" > int< / 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" > example_tuple< / span > < span class = "special" > (< / span > < span class = "number" > 101< / span > < span class = "special" > ,< / span > < span class = "string" > "hello"< / span > < span class = "special" > );< / span >
2007-11-06 12:13:52 +00:00
< span class = "identifier" > std< / span > < span class = "special" > ::< / span > < span class = "identifier" > cout< / span > < span class = "special" > < < < / span > < span class = "special" > *< / span > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > fusion< / span > < span class = "special" > ::< / span > < span class = "identifier" > begin< / span > < span class = "special" > (< / span > < span class = "identifier" > example_tuple< / span > < span class = "special" > )< / span > < span class = "special" > < < < / span > < span class = "char" > '\n'< / span > < span class = "special" > ;< / span >
< span class = "identifier" > std< / span > < span class = "special" > ::< / span > < span class = "identifier" > cout< / span > < span class = "special" > < < < / span > < span class = "special" > *< / span > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > fusion< / 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" > fusion< / span > < span class = "special" > ::< / span > < span class = "identifier" > begin< / span > < span class = "special" > (< / span > < span class = "identifier" > example_tuple< / span > < span class = "special" > ))< / span > < span class = "special" > < < < / span > < span class = "char" > '\n'< / span > < span class = "special" > ;< / span >
< / pre >
2009-09-25 00:21:53 +00:00
< a name = "fusion.adapted.boost__tuple.see_also" > < / a > < h5 >
2010-12-29 19:54:59 +00:00
< a name = "id927220" > < / a >
2009-09-25 00:21:53 +00:00
< a class = "link" href = "boost__tuple.html#fusion.adapted.boost__tuple.see_also" > See also< / a >
< / h5 >
2007-11-06 12:13:52 +00:00
< p >
< a href = "http://www.boost.org/libs/tuple/doc/tuple_users_guide.html" target = "_top" > Boost.Tuple
Library< / a >
< / p >
< / div >
< table xmlns:rev = "http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width = "100%" > < tr >
< td align = "left" > < / td >
2009-12-11 21:01:22 +00:00
< td align = "right" > < div class = "copyright-footer" > Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
2007-11-07 02:12:28 +00:00
Schwinger< p >
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at < a href = "http://www.boost.org/LICENSE_1_0.txt" target = "_top" > http://www.boost.org/LICENSE_1_0.txt< / a > )
2007-11-14 10:17:09 +00:00
< / p >
< / div > < / td >
2007-11-06 12:13:52 +00:00
< / tr > < / table >
< hr >
< div class = "spirit-nav" >
2010-07-04 19:20:50 +00:00
< a accesskey = "p" href = "boost__array.html" > < img src = "../../../../../../doc/src/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../adapted.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 = "adapt_struct.html" > < img src = "../../../../../../doc/src/images/next.png" alt = "Next" > < / a >
2007-11-06 12:13:52 +00:00
< / div >
< / body >
< / html >