pop_back.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/pop_back.hpp">
  9. <para>Includes Proto callable <computeroutput><classname>boost::proto::functional::pop_back</classname></computeroutput>.</para>
  10. <namespace name="boost">
  11. <namespace name="proto">
  12. <namespace name="functional">
  13. <!-- proto::functional::pop_back -->
  14. <struct name="pop_back">
  15. <purpose>A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  16. <computeroutput>fusion::pop_back()</computeroutput> algorithm on its argument.</purpose>
  17. <description>
  18. <para>
  19. A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  20. <computeroutput>fusion::pop_back()</computeroutput> algorithm on its argument.
  21. </para>
  22. </description>
  23. <inherit>
  24. <type><classname>proto::callable</classname></type>
  25. </inherit>
  26. <struct-specialization name="result">
  27. <template>
  28. <template-type-parameter name="This"/>
  29. <template-type-parameter name="Seq"/>
  30. </template>
  31. <specialization>
  32. <template-arg>This(Seq)</template-arg>
  33. </specialization>
  34. <inherit>
  35. <type>result&lt; This(Seq const &amp;) &gt;</type>
  36. </inherit>
  37. </struct-specialization>
  38. <struct-specialization name="result">
  39. <template>
  40. <template-type-parameter name="This"/>
  41. <template-type-parameter name="Seq"/>
  42. </template>
  43. <specialization>
  44. <template-arg>This(Seq &amp;)</template-arg>
  45. </specialization>
  46. <inherit>
  47. <type>fusion::result_of::pop_back&lt; Seq &gt;</type>
  48. </inherit>
  49. </struct-specialization>
  50. <method-group name="public member functions">
  51. <method name="operator()" cv="const">
  52. <type>typename fusion::result_of::pop_back&lt; Seq &gt;::type</type>
  53. <template>
  54. <template-type-parameter name="Seq"/>
  55. </template>
  56. <parameter name="seq">
  57. <paramtype>Seq &amp;</paramtype>
  58. </parameter>
  59. <returns>
  60. <para><computeroutput>fusion::pop_back(seq)</computeroutput></para>
  61. </returns>
  62. </method>
  63. <method name="operator()" cv="const">
  64. <type>typename fusion::result_of::pop_back&lt; Seq const &gt;::type</type>
  65. <template>
  66. <template-type-parameter name="Seq"/>
  67. </template>
  68. <parameter name="seq">
  69. <paramtype>Seq const &amp;</paramtype>
  70. </parameter>
  71. <returns>
  72. <para><computeroutput>fusion::pop_back(seq)</computeroutput></para>
  73. </returns>
  74. </method>
  75. </method-group>
  76. </struct>
  77. </namespace>
  78. </namespace>
  79. </namespace>
  80. </header>