Although signature allows an int:
int isspace( int ch );
The behavior is undefined if the value of ch is
not representable as unsigned char and is not
equal to EOF.
See
http://en.cppreference.com/w/cpp/string/byte/isspace
http://www.greenend.org.uk/rjk/tech/cfu.html
This is really a tricky corner case of C standard!
Spotted and reported by Ron Britvich.
No functional change.
incremented after Black's move.
*/
- char col, row, token;
+ unsigned char col, row, token;
size_t idx;
Square sq = SQ_A8;
std::istringstream ss(fenStr);