http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58993
--- Comment #3 from Chris Studholme ---
Ah, thanks for the info. I thought I tried '&bar::foo' and it didn't work
without 'using base::foo'. I just tried it again and it does work (in both
cases) without the using declaration so I must have made
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cvs at cs dot utoronto.ca
Sample code:
class base {
protected:
typedef void (base::*foo_type)() const;
void foo() const {}
};
template
struct bar
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: cvs at cs dot utoronto.ca
Simple example:
struct foo {
char buf[1024*1024*1024];
foo() {}
};
auto p = std::make_shared();
I've traced the problem to shared_ptr_base.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54532
--- Comment #1 from Chris 2012-09-09 02:24:57 UTC
---
Created attachment 28155
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28155
preprocessed source
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54532
Bug #: 54532
Summary: [C++0x][constexpr] internal error when initializing
static constexpr with pointer to non-static member
variable
Classification: Unclassified
Produc