[OT] Modules dropped out of C++17
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 10 05:52:58 PDT 2015
On Tuesday, 9 June 2015 at 17:43:18 UTC, Steven Schveighoffer
wrote:
> On 6/9/15 4:06 AM, Brian Schott wrote:
>> On Tuesday, 9 June 2015 at 07:49:24 UTC, Shachar Shemesh wrote:
>>> Also, you say 5 seconds as if that's a short amount of time.
>>> If it takes an automatic scanner 5 seconds, it means the
>>> amount
>>> of coverage it needs to perform is huge.
>>
>> If anybody was wondering why DCD doesn't support UFCS, this is
>> the
>> answer. I can't find a way to make it fast, useful, or compact
>> in terms
>> of memory use.
>
> I can't see how a UFCS lookup is any slower than a normal
> function lookup. It's just a rewrite.
>
> i.e.:
>
> a.foo
>
> 1. try finding member foo on type a.
> 2. try finding function foo
> a. If found, find overload that will take a.
>
> What happens as you type:
>
> foo(a
>
> ??? how is it any different?
>
> -Steve
One problem is that any auto-complete list becomes completely
unmanageable.
More information about the Digitalmars-d
mailing list