X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmovegen.h;h=5eee2f1acf8647cdbefce1ce5f60cc0153c29678;hb=243f7b264a81c2981cec2818b47d609d9d3ca119;hp=b15f1230b130b7280217ede217c5023460588e08;hpb=9739ed7a97c153c3223b608b24717edbf2dfd7bc;p=stockfish diff --git a/src/movegen.h b/src/movegen.h index b15f1230..5eee2f1a 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -56,8 +56,9 @@ inline bool operator<(const ExtMove& f, const ExtMove& s) { template ExtMove* generate(const Position& pos, ExtMove* moveList); -/// The MoveList struct is a simple wrapper around generate(). It sometimes comes -/// in handy to use this class instead of the low level generate() function. +/// The MoveList struct wraps the generate() function and returns a convenient +/// list of moves. Using MoveList is sometimes preferable to directly calling +/// the lower level generate() function. template struct MoveList {