Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wandersys at aim dot com
Target Milestone: ---
Created attachment 46461
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46461&action=edit
constexpr
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wandersys at aim dot com
Target Milestone: ---
Hello!
Here is an example:
class bar
{
public:
bar() {}
bar const & operator=(bar const &) const
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69898
--- Comment #3 from wander ---
Created attachment 37786
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37786&action=edit
A more detailed testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69898
--- Comment #2 from wander ---
(In reply to Daniel Krügler from comment #1)
> I would argue that the code should be ill-formed, because the attempt to
> form a pointer to a function with cv-qualifier-seq is invalid, see
>
> http://www.open-std.o
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wandersys at aim dot com
Target Milestone: ---
Hello there!
Simple code:
template
struct test
{
typedef void(* type)(T);
};
typedef void foo_t() const;
typedef test