|
@ -15,10 +15,10 @@ namespace gp{ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
template<typename fn> |
|
|
template<typename fn> |
|
|
class callable : virtual_callable{ |
|
|
|
|
|
|
|
|
class callable : k">public virtual_callable{ |
|
|
fn internal_representation; |
|
|
fn internal_representation; |
|
|
public: |
|
|
public: |
|
|
callable(const fn func) |
|
|
|
|
|
|
|
|
callable(const fn& func) |
|
|
: internal_representation{func} |
|
|
: internal_representation{func} |
|
|
{} |
|
|
{} |
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ namespace gp{ |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
self = new callable<T>(t); |
|
|
|
|
|
|
|
|
self.functor = new callable<T>(t); |
|
|
state = (state_t)(ACTIVE | NO_SOO); |
|
|
state = (state_t)(ACTIVE | NO_SOO); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|