push_back.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2012 Eric Niebler
  4. Distributed under the Boost
  5. Software License, Version 1.0. (See accompanying
  6. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. -->
  8. <header name="boost/proto/functional/fusion/push_back.hpp">
  9. <para>Includes Proto callable <computeroutput><classname>boost::proto::functional::push_back</classname></computeroutput>.</para>
  10. <namespace name="boost">
  11. <namespace name="proto">
  12. <namespace name="functional">
  13. <!-- proto::functional::push_back -->
  14. <struct name="push_back">
  15. <purpose>A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  16. <computeroutput>fusion::push_back()</computeroutput> algorithm on its arguments.</purpose>
  17. <description>
  18. <para>
  19. A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  20. <computeroutput>fusion::push_back()</computeroutput> algorithm on its arguments.</para>
  21. </description>
  22. <inherit>
  23. <type><classname>proto::callable</classname></type>
  24. </inherit>
  25. <struct-specialization name="result">
  26. <template>
  27. <template-type-parameter name="This"/>
  28. <template-type-parameter name="Seq"/>
  29. <template-type-parameter name="T"/>
  30. </template>
  31. <specialization>
  32. <template-arg>This(Seq, T)</template-arg>
  33. </specialization>
  34. <inherit>
  35. <type>fusion::result_of::push_back&lt;
  36. typename boost::add_const&lt;typename boost::remove_reference&lt;Seq&gt;::type&gt;::type
  37. , typename boost::remove_const&lt;typename boost::remove_reference&lt;T&gt;::type&gt;::type
  38. &gt;</type>
  39. </inherit>
  40. </struct-specialization>
  41. <method-group name="public member functions">
  42. <method name="operator()" cv="const">
  43. <type>typename fusion::result_of::push_back&lt; Seq const, T &gt;::type</type>
  44. <template>
  45. <template-type-parameter name="Seq"/>
  46. <template-type-parameter name="T"/>
  47. </template>
  48. <parameter name="seq">
  49. <paramtype>Seq const &amp;</paramtype>
  50. </parameter>
  51. <parameter name="t">
  52. <paramtype>T const &amp;</paramtype>
  53. </parameter>
  54. <returns>
  55. <para><computeroutput>fusion::push_back(seq, t)</computeroutput></para>
  56. </returns>
  57. </method>
  58. </method-group>
  59. </struct>
  60. </namespace>
  61. </namespace>
  62. </namespace>
  63. </header>