http://llvm.org/bugs/show_bug.cgi?id=18043
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- For more background, see: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1570 The code is ill-formed because 'fooAddr' does not refer to a function or an array (it refers to a pointer), and thus you cannot omit the '&'. (More generally, the intent was that C++11 did not let you do new things here, such as pushing the address through a constexpr variable.) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
