liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

assign keyword


From: Paolo Redælli
Subject: assign keyword
Date: Tue, 5 Jul 2022 08:23:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

I added a note regarding the assign keyword to the release notes of forthcoming Curtiss

For anyone not knowing this feature it allows to write things like

class FOO

feature set_element (a_element: like element) assign element

end


class BAR

feature

  foo: FOO

  do_something do

     foo.element := my_element

  end

end

   

In a few days I will add some tutorials about it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]