To help LDC/GDC

Jacob Carlborg doob at me.com
Thu Apr 11 06:29:23 PDT 2013


On 2013-04-11 12:09, Simen Kjærås wrote:

> That's not the point. The point is, if he'd written this:
>
>    strong pure bar(int* n) { ... }
>
> The compiler would have said 'Bad programmer! int* is not implicitly
> castable to immutable!'

What's the point of that. Just have "strong" mean const/immutable 
parameters.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list