'__Usual.operator &(__Usual, __Usual)' .. short circuit operator, ...
Posted: Wed Nov 09, 2016 8:44 am
The following expression is accepted:
(RueckString usual)
if ( islogic(RueckString) .and. Rueckstring == true)
The following expression gives the error below
if ( islogic(RueckString) .and. Rueckstring)
Error In order for '__Usual.operator &(__Usual, __Usual)' to be applicable as a short circuit operator, its declaring type '__Usual' must define operator true and operator false
Unfortunately there are many places in our old VO code. Is it necessary to change all places?
Thank you
Arne Ortlinghaus
(RueckString usual)
if ( islogic(RueckString) .and. Rueckstring == true)
The following expression gives the error below
if ( islogic(RueckString) .and. Rueckstring)
Error In order for '__Usual.operator &(__Usual, __Usual)' to be applicable as a short circuit operator, its declaring type '__Usual' must define operator true and operator false
Unfortunately there are many places in our old VO code. Is it necessary to change all places?
Thank you
Arne Ortlinghaus