help!

Michael Stahl mst at libreoffice.org
Mon May 6 09:52:38 UTC 2019


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 ;)


More information about the LibreOffice mailing list