@porperty problem..
Steven Schveighoffer
schveiguy at yahoo.com
Mon Jun 28 13:58:58 PDT 2010
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
More information about the Digitalmars-d-learn
mailing list