view dmd/MATCH.d @ 182:b64060ab22df

Now compileable with dmd2.050
author korDen
date Sat, 30 Oct 2010 05:05:32 +0400
parents 10317f0c89a5
children
line wrap: on
line source

module dmd.MATCH;

version (DMDV2) {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHconst,		// match with conversion to const

		MATCHexact		// exact match
	}
} else {
	enum MATCH
	{
		MATCHnomatch,	// no match
		MATCHconvert,	// match with conversions

		MATCHexact		// exact match
	}
}

import dmd.EnumUtils;
mixin(BringToCurrentScope!(MATCH));