История изменений
Исправление fornlr, (текущая версия) :
Left operand of the logical AND operator (&&). The left operand of the logical AND operator is completely evaluated and all side effects completed before continuing. There is no guarantee that the right operand of the logical AND operator will be evaluated.
А что получается по хорошему так нельзя?
if(!date.isNill() && date.isFirstMonth())
Тоесть возможно будет вычислен второй операнд и я получу краш?
Исходная версия fornlr, :
Left operand of the logical AND operator (&&). The left operand of the logical AND operator is completely evaluated and all side effects completed before continuing. There is no guarantee that the right operand of the logical AND operator will be evaluated.
А что получается так нельзя?
if(!date.isNill() && date.isFirstMonth())
Тоесть возможно будет вычислен второй операнд и я получу краш?