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
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							32 lines
						
					
					
						
							2.1 KiB
						
					
					
				| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> | |
| <title>Requirements on range concept</title> | |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> | |
| <link href="tabs.css" rel="stylesheet" type="text/css"> | |
| </head><body> | |
| <!-- Generated by Doxygen 1.4.7 --> | |
| <div class="tabs"> | |
|   <ul> | |
|     <li><a href="index.html"><span>Main Page</span></a></li> | |
|     <li><a href="modules.html"><span>Modules</span></a></li> | |
|     <li><a href="namespaces.html"><span>Namespaces</span></a></li> | |
|     <li><a href="annotated.html"><span>Classes</span></a></li> | |
|     <li><a href="files.html"><span>Files</span></a></li> | |
|     <li><a href="pages.html"><span>Related Pages</span></a></li> | |
|   </ul></div> | |
| <div class="nav"> | |
| <a class="el" href="index.html">Main Page</a> » <a class="el" href="concepts.html">TBB concepts</a></div> | |
| <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& );  | |
| </pre></div> Copy constructor -<div class="fragment"><pre class="fragment"> R::~R();  | |
| </pre></div> Destructor -<div class="fragment"><pre class="fragment"> <span class="keywordtype">bool</span> R::is_divisible() <span class="keyword">const</span>;  | |
| </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>;  | |
| </pre></div> True if range is empty -<div class="fragment"><pre class="fragment"> R::R( R& r, split );  | |
| </pre></div> Split range <code>r</code> into two subranges. <hr> | |
| <p></p> | |
| Copyright © 2005-2013 Intel Corporation.  All Rights Reserved. | |
| <p></p> | |
| Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are | |
| registered trademarks or trademarks of Intel Corporation or its | |
| subsidiaries in the United States and other countries. | |
| <p></p> | |
| * Other names and brands may be claimed as the property of others.
 |