Marco van de Voort <f...@pascalprogramming.org> schrieb am So., 19. Mai
2019, 14:04:

>
> Op 2019-05-19 om 13:50 schreef Michael Van Canneyt:
> > Current C++ standards requires a space between the two > signs for
> > nested templates, so I think it would be fine if we were to require
> > that as well. Although I supposed that would be Delphi-incompatible...
> >
> > I think we can argue that adding a space adds to clarity.
> >
> I think that is pointless. Most coperator code is objfpc anyway.
>
> Mode delphi should be compatible. Better forbid coperators in
> combination with mode delphi if need be.
>

I think that we should not forbid the use of COperators if the user want it
just like we don't forbid the use of any modeswitch.

What should be done however is to couple the << and >> operator aliases to
the COperators option, cause currently they are not and thus are enabled
always.

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to