Work around VS2015 compile bug.
The compiler is treating bool(...) as a function declaration rather than a
cast, then fails. Explicitly adding static_cast allows it to pass.
Related to #2798 (closed).
Edited by Antonio Sánchez
The compiler is treating bool(...) as a function declaration rather than a
cast, then fails. Explicitly adding static_cast allows it to pass.
Related to #2798 (closed).