RFC: DIP draft for "Compiler-defined Attribute Consistency"

user1234 user1234 at 12.de
Wed Jul 14 17:45:34 UTC 2021


On Wednesday, 14 July 2021 at 16:18:21 UTC, Dennis wrote:
> On Wednesday, 14 July 2021 at 15:54:06 UTC, user1234 wrote:
>> I'm worried not to see `@const` and `@inout`.
>
> Those are type constructors, not attributes.

I reffered about the [attribute form of 
const](https://dlang.org/spec/attribute.html#const), e.g we would 
have

```c
struct S
{
     void v(T)(const T t) @const {}
}
```

and very obviously the typector and param storage class would 
continue to use the keyword, i.e no deprecation for those


More information about the Digitalmars-d mailing list