7 * Class representing Gene
9 template < typename Type >
14 * This for example can be a primitive value such as: int or double, or
15 * with additional changes complex struct.
25 * Class constructor, initializes Gene with default value.
31 /** Copy constructor */
32 Gene(const Gene& gene) : value(gene.get()) {}
37 * @param gene Gene from which the value should be copied.
38 * @return Gene instance containing copied value
40 Gene& operator=(const Gene& gene) {
41 this->value = gene.get();
46 * Allows read-only access to Gene value