View source code
							
							
						
								Display the source code in std/typecons.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.
							
						std.typecons.Tuple.toString  - multiple declarations
				Function Tuple.toString
Converts to string.
						
				string toString() const;
						
					
				Returns
The string representation of this Tuple.
Function Tuple.toString
Formats Tuple with either %s, %(inner%) or %(inner%|sep%).
						
				void toString(DG)
				(
				
				  scope DG sink
				
				) const;
				
				
				void toString(DG, Char)
				(
				
				  scope DG sink,
				
				  const ref FormatSpec!Char fmt
				
				) const;
						
					
				| Format | Description | |
|---|---|---|
| 
 | Format like  | |
| 
 | The format  | so
      it may contain as many formats as the Tuplehas fields. | 
| 
 | The format  | that is applied
      on all fields of the Tuple. The inner format must be compatible to all
      of them. | 
Parameters
| Name | Description | 
|---|---|
| sink | A characcepting delegate | 
| fmt | A FormatSpec | 
Example
import stdExample
import stdAuthors
Andrei Alexandrescu, Bartosz Milewski, Don Clugston, Shin Fujishiro, Kenji Hara
License
					Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.