Re: help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux