kwiver icon indicating copy to clipboard operation
kwiver copied to clipboard

[VIAME] Fix undefined or incorrect behavior in darknet_trainer

Open predicative opened this issue 3 years ago • 0 comments

Per rule 20 of the "Sequenced-before rules" at https://en.cppreference.com/w/cpp/language/eval_order, starting in C++17 the right-hand side of an assignment is evaluated before the left-hand side, which is not the desired behavior.

Prior to C++17, the behavior is, as I understand it, undefined.

predicative avatar May 31 '22 13:05 predicative