- LimitsType() { // Using memset on a std::vector is undefined behavior
- nodes = time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = movestogo =
- depth = movetime = mate = infinite = ponder = 0;
+ LimitsType() { // Init explicitly due to broken value-initialization of non POD in MSVC
+ nodes = time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] =
+ npmsec = movestogo = depth = movetime = mate = infinite = ponder = 0;
+ }
+
+ bool use_time_management() const {
+ return !(mate | movetime | depth | nodes | infinite);