@porperty problem..

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Jun 28 14:02:50 PDT 2010


On 06/28/2010 03:58 PM, Steven Schveighoffer wrote:
> On Mon, 28 Jun 2010 16:55:01 -0400, Ellery Newcomer
> <ellery-newcomer at utulsa.edu> wrote:
>
>> On 06/28/2010 03:47 PM, Steven Schveighoffer wrote:
>>> On Mon, 28 Jun 2010 16:37:06 -0400, BLS <windevguy at hotmail.de> wrote:
>>>>
>>>> @property nextServer() {
>>>
>>> Shouldn't this be
>>>
>>> @property Server nextServer() {
>>>
>>> ???
>>>
>>
>> auto functions?
>
> I wasn't aware that @property implies auto. I guess that makes sense,
> but I didn't consider it anything but a hint to the compiler about how
> it could be called, not that did anything with the type.
>
> But I guess it's similar to static...
>
> -Steve

There are a bunch of modifiers that do.

protection modifiers and maybe align and a few others don't, but pretty 
much everything else does


More information about the Digitalmars-d-learn mailing list