[Bug c++/86195] Ref-qualified nested class member function issue

2018-06-18 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86195 --- Comment #2 from Paolo Monteverde --- (In reply to Jonathan Wakely from comment #1) > This started to fail on trunk with r251438 > > It seems to have been fixed on the gcc-8-branch though. 8.1.1 is not a > release, we need to know exactly whi

[Bug c++/86195] New: Ref-qualified nested class member function issue

2018-06-18 Thread paolo.monteverde at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: paolo.monteverde at gmail dot com Target Milestone: --- #include template struct A final { struct B final { template void foo(Args &&... args) && { A::foo(s

[Bug c++/85790] New: c++17 - Access control issue with template argument deduction

2018-05-15 Thread paolo.monteverde at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: paolo.monteverde at gmail dot com Target Milestone: --- struct B { protected: static constexpr unsigned i = 0; }; template struct D : public B { D(unsigned = B::i) {} }; int

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #3 from Paolo Monteverde --- Created attachment 38315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38315&action=edit preprocessed file

[Bug c++/70735] [5/6/7 Regression] problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735 --- Comment #2 from Paolo Monteverde --- (In reply to Jonathan Wakely from comment #1) > I can reproduce this with 5.3.1 and later, but not 5.3.0 > > As requested at https://gcc.gnu.org/bugs/ please provide the output of 'gcc > -v', on both Debi

[Bug c++/70735] New: problem combining std::function, generic lambdas and static variables

2016-04-20 Thread paolo.monteverde at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: paolo.monteverde at gmail dot com Target Milestone: --- The code #include #include int main() { static int a; std::function f = [](auto) { std::cout << a

[Bug c++/70494] Capturing an array of vectors in a lambda

2016-04-01 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70494 Paolo Monteverde changed: What|Removed |Added CC||paolo.monteverde at gmail dot com