mclow.lists added a comment. More. Trying the above code on godbolt.org, gcc 6.1/6.2/6.3/7.1 all reject it (with `-std=c++14` and `-std=c++1z`) with the error message:
> <source>: In function 'int main()': > <source>:4:30: error: unable to find numeric literal operator 'operator""if' > > { std::complex<float> foo = 1.0if; } > ^~~~~ > > <source>:4:30: note: use -std=gnu++11 or -fext-numeric-literals to enable > more built-in suffixes > Compiler exited with result code 1 https://reviews.llvm.org/D33424 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits