mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Update wikipage Code Templates. (Signed-off-by:javier).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1689 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -102,6 +102,10 @@ end
|
|||||||
This class defines two templates: maximum for the maximum of an entire array, and slice_maximum for the maximum of some contiguous part (“slice”) of that array.
|
This class defines two templates: maximum for the maximum of an entire array, and slice_maximum for the maximum of some contiguous part (“slice”) of that array.
|
||||||
That was a targeted template: EiffelStudio will propose it whenever the user types a dot after a target of type ARRAY [T] where T is a “COMPARABLE”. Note how you specify the target: as the actual generic parameters of TEMPLATE; that’s why the definition starts here as
|
That was a targeted template: EiffelStudio will propose it whenever the user types a dot after a target of type ARRAY [T] where T is a “COMPARABLE”. Note how you specify the target: as the actual generic parameters of TEMPLATE; that’s why the definition starts here as
|
||||||
|
|
||||||
|
<span id="share_code_templates"></span>
|
||||||
|
=Sharing code templates=
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span id="gui_template"></span>
|
<span id="gui_template"></span>
|
||||||
=Associating GUI with Template definition=
|
=Associating GUI with Template definition=
|
||||||
|
|||||||
Reference in New Issue
Block a user