News for hackers. Stuff that matters.
Re:Google broke a conditional statement that verifies passwo... by areyousure on Thursday July 22, 2021 @08:04PM (#27925827)
While it is true that you can use `and` in C++11, that's a bit of an understatement: these keywords have in fact been present since the very first ISO C++ standard C++98!
Re:Google broke a conditional statement that verifies passwo... by frankzinger on Friday July 23, 2021 @01:01AM (#27927392)
Note however that MSVC does not support these by default. You need to #include <ciso646> before their use, or you need to pass the `/permissive-` compiler option.
Re:Google broke a conditional statement that verifies passwo... by account42 on Friday July 23, 2021 @08:27AM (#27929920)
You should be using /permissive- anyway unless you are dealing with a legacy codebase that breaks with that.
Re:Google broke a conditional statement that verifies passwo... by Trollmann on Saturday July 24, 2021 @08:53PM (#27945698)
TIL! Always thought this was a C++11 feature. Then this argument against the 'new' keywords is even weaker.