www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Request: new compiler constants

A discussion in #d.tango has brought up the question of whether D
compilers should add a few new constants to their repertoire:


I realise this information is available in std.compiler, however this
module does not exist in Tango.  What is more, it makes no sense for
Tango to add this module since it is not tied to a particular compiler
like Phobos is.

Also, there's the argument that Walter keeps forgetting to update
std.compiler, and this information is available to the compiler source ;)

This information will become really useful once D 2.0 comes out of beta,
as it will allow people to safely work out the language and compiler
version irrespective of their choice of library.

Something to think about, at least.

	-- Daniel
Jun 18 2007