Mainly made it obvious that Lesson4 contains "ready-to-use" EAs
This commit is contained in:
parent
835a14e8ff
commit
503ee25d9c
3 changed files with 56 additions and 19 deletions
|
|
@ -43,9 +43,11 @@ EO<F></font></tt></b>
|
|||
<p>and then use it in your application as
|
||||
<p><b><tt><font color="#999900">eoBit<double> myeoBit;</font></tt></b>
|
||||
<p>declares an object of type eoBin which has as fitness a double.
|
||||
<p>Whereas the advantages are obvious (writing generic reusable code instead
|
||||
<p>Whereas the <b><font color="#FF6600">advantages</font></b>
|
||||
are obvious (writing generic reusable code instead
|
||||
of having to rewrite the same pieces of code for different types), there
|
||||
are some drawbacks: namely, it makes some of the compiler error messages
|
||||
are some <b><font color="#FF6600">drawbacks</font></b>:
|
||||
namely, it makes some of the compiler error messages
|
||||
hard to understand; and it forbids the compilation of most parts of EO
|
||||
into an object library file, as the actual types are not known in advance.
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue