Update wikipage Code Templates. (Signed-off-by:javier).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1628 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-09-21 19:06:49 +00:00
parent 956781cf9f
commit 935dddb4e2

View File

@@ -41,7 +41,10 @@ These templates does not have the feature `target'.
<span id="templates_skeleton"></span>
==Templates Skeleton==
===With Generic Constraints===
====Context temples====
The next example shows how to define a template that will be applicable to types that conforms <code>ARRAY [COMPARABLE]</code>.
<code>
note
@@ -70,8 +73,8 @@ feature -- Templates
end
slice_maximum (low, high: INTEGER): T
-- Get the maximum of an array,
-- where the interval is defined by default
-- Get the maximum of an array,
-- where the interval is defined by default
-- by array.lower |..| array.upper.
note
tags: "Algorithm, Maximum, ARRAY"