empty.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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/range/empty.hpp">
  9. <para>Includes Proto callable <code><classname>boost::proto::functional::empty</classname></code>.</para>
  10. <namespace name="boost">
  11. <namespace name="proto">
  12. <namespace name="functional">
  13. <!-- proto::functional::empty -->
  14. <struct name="empty">
  15. <purpose>A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  16. <code>boost::empty()</code> function on its arguments.</purpose>
  17. <description>
  18. <para>
  19. A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
  20. <code>boost::empty()</code> function on its arguments.</para>
  21. </description>
  22. <inherit>
  23. <type><classname>proto::callable</classname></type>
  24. </inherit>
  25. <typedef name="result_type">
  26. <type>bool</type>
  27. </typedef>
  28. <method-group name="public member functions">
  29. <method name="operator()" cv="const">
  30. <type>bool</type>
  31. <template>
  32. <template-type-parameter name="Range"/>
  33. </template>
  34. <parameter name="rng">
  35. <paramtype>Range const &amp;</paramtype>
  36. </parameter>
  37. <returns>
  38. <para><code>boost::empty(rng)</code></para>
  39. </returns>
  40. </method>
  41. </method-group>
  42. </struct>
  43. </namespace>
  44. </namespace>
  45. </namespace>
  46. </header>