On 03.05.19 08:37, Adrien Ollier wrote:
Hi,

"and" is a C++ keyword (https://en.cppreference.com/w/cpp/keyword, https://en.cppreference.com/w/cpp/keyword/and) which is the logical AND (&&). I am surprised it is not recognized.

using "and" in C++ is unidiomatic.

the idiomatic way is to either use "&&" or "#define AND &&" and use "AND" [1].

[1] https://cgit.freedesktop.org/libreoffice/core/tree/include/cosv/csv_env.hxx?id=be49d3a25bc867c4f523cc6ff51ed2e8df9211d7#n60

PS: this email may contain traces of sarcasm ;)
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to