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
			a local clone.
		
	dmd.impcnvtab
Provides an implicit conversion table for basic types.
Used to determine integer promotions and common types.
Specification Integer Promotions, Usual Arithmetic Conversions.
Authors: 
License: 
Source impcnvtab.d
Documentation https://dlang.org/phobos/dmd_impcnvtab.html
- pure nothrow @nogc @safe TYimplicitConvCommonTy(TYty1, TYty2);
- If ty1 and ty2 are basic types, return the TY that both can be implicitly converted to.Parameters:TY ty1first operand type TY ty2second operand type Returns:ty = common type, else Terror
- pure nothrow @nogc @safe TYimplicitConvTy1(TYty1, TYty2);
- If ty1 and ty2 are basic types, return the TY that ty1 can be implicitly converted to to bring them to a common ty. It's symmetric, i.e. the operands can be swapped.Parameters:TY ty1first operand type TY ty2second operand type Returns:ty = what ty1 should be converted to, else Terror
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:27:56 2025