You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
2.1 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>Requirements on range concept</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. </head><body>
  7. <!-- Generated by Doxygen 1.4.7 -->
  8. <div class="tabs">
  9. <ul>
  10. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  11. <li><a href="modules.html"><span>Modules</span></a></li>
  12. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  13. <li><a href="annotated.html"><span>Classes</span></a></li>
  14. <li><a href="files.html"><span>Files</span></a></li>
  15. <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  16. </ul></div>
  17. <div class="nav">
  18. <a class="el" href="index.html">Main Page</a>&nbsp;&raquo&nbsp;<a class="el" href="concepts.html">TBB concepts</a></div>
  19. <h1><a class="anchor" name="range_req">Requirements on range concept</a></h1>Class <code>R</code> implementing the concept of range must define: -<div class="fragment"><pre class="fragment"> R::R( <span class="keyword">const</span> R&amp; );
  20. </pre></div> Copy constructor -<div class="fragment"><pre class="fragment"> R::~R();
  21. </pre></div> Destructor -<div class="fragment"><pre class="fragment"> <span class="keywordtype">bool</span> R::is_divisible() <span class="keyword">const</span>;
  22. </pre></div> True if range can be partitioned into two subranges -<div class="fragment"><pre class="fragment"> <span class="keywordtype">bool</span> R::empty() <span class="keyword">const</span>;
  23. </pre></div> True if range is empty -<div class="fragment"><pre class="fragment"> R::R( R&amp; r, split );
  24. </pre></div> Split range <code>r</code> into two subranges. <hr>
  25. <p></p>
  26. Copyright &copy; 2005-2013 Intel Corporation. All Rights Reserved.
  27. <p></p>
  28. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  29. registered trademarks or trademarks of Intel Corporation or its
  30. subsidiaries in the United States and other countries.
  31. <p></p>
  32. * Other names and brands may be claimed as the property of others.