[just talk] what if implicitly typed literals were disallowed

Timon Gehr timon.gehr at gmx.ch
Wed Oct 24 12:00:02 PDT 2012


On 10/24/2012 06:38 PM, Adam D. Ruppe wrote:
> ...
> But how annoying? Ignoring the reality of the situation, is this a good
> idea in theory?
>
> destroy

I'd miss ifti on literals. If your goal is to be able to customize the
type of literals from druntime, it is also possible to make the compiler
invoke some predefined templates/functions in order to transform
literals to an arbitrary library-defined type.



More information about the Digitalmars-d mailing list