View source code
							
							
						
								Display the source code in dmd/mtype.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Function dmd.mtype.toBooleanVector
Creates an appropriate vector type for tv that will hold one boolean
 result for each element of the vector type. The result of vector comparisons
 is a single or doubleword mask of all 1s (comparison true) or all 0s
 (comparison false). This SIMD mask type does not have an equivalent D type,
 however its closest equivalent would be an integer vector of the same unit
 size and length.
						
					
				Parameters
| Name | Description | 
|---|---|
| tv | The TypeVectorto build a vector from. | 
Returns
A vector type suitable for the result of a vector comparison operation.
Authors
License
					Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.