Primitive specializations
Jose
jgetino at telefonica.net
Fri Jun 14 12:41:28 PDT 2013
In the spirit of the primitive specializations of Iterator I wonder if it
would be possible to make LongConsumer being a specialization of
Consumer<Long>.
On the other hand I would like to know if it can be expected that in future
releases the compiler will be able to disambiguate between
foo(LongConsumer c) and foo(Cosumer<Long>.c)
when a lambda is passed as argument.
Thanks
.
More information about the lambda-dev
mailing list