[Scilab-Dev] &&, ||, {} as cell-builder not overloadable: official?

Samuel Gougeon sgougeon at free.fr
Tue Jan 15 11:41:21 CET 2019


Le 15/01/2019 à 10:47, Antoine ELIAS a écrit :
> Hello Samuel,
>
> You are right, there is no overload for these new operators.
> for || and &&, it seems to be OK, we can create new overloads like 
> %x_gg_x ( || ) and %_hh_x ( && ) for example.
>
> but for {} it would be difficult, cell creation accepts ALL types so 
> how to detect and call overloads ?

You are right. This concatenator can't be overloaded. Let's document it 
in its forthcoming page.

Do you think that overloading for || and && could be ready for Scilab 
6.0.2, to make Scilab 6.0 regular?




More information about the dev mailing list