X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.h;h=76a893f90c4f0067b58cad0b7df91c7cdefd2806;hb=809849fa275512225d19e280809f227990d97eb1;hp=5bb24a4ec65db098ff13cf01784cdd4f78613271;hpb=90cf8e7d2bde9e480aac4b119ce130e09dd2be39;p=stockfish diff --git a/src/uci.h b/src/uci.h index 5bb24a4e..76a893f9 100644 --- a/src/uci.h +++ b/src/uci.h @@ -32,15 +32,15 @@ namespace UCI { class Option; -/// Custom comparator because UCI options should be case insensitive +/// Define a custom comparator, because the UCI options should be case-insensitive struct CaseInsensitiveLess { bool operator() (const std::string&, const std::string&) const; }; -/// Our options container is actually a std::map +/// The options container is defined as a std::map typedef std::map OptionsMap; -/// Option class implements an option as defined by UCI protocol +/// The Option class implements each option as specified by the UCI protocol class Option { typedef void (*OnChange)(const Option&);