[Bug c++/98802] New: class template argument deduce guide leads infinite recursive.

2021-01-23 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98802 Bug ID: 98802 Summary: class template argument deduce guide leads infinite recursive. Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/98802] class template argument deduce guide leads infinite recursive.

2021-01-23 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98802 --- Comment #1 from Net Can --- g++ -std=c++17 work on but not work on -std=c++2a.

[Bug c++/103358] New: what is the first constructor argument of lambda coroutine promise_type?

2021-11-22 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 Bug ID: 103358 Summary: what is the first constructor argument of lambda coroutine promise_type? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug c++/103358] what is the first constructor argument of lambda coroutine promise_type?

2021-12-18 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 --- Comment #2 from Net Can --- (In reply to Iain Sandoe from comment #1) > There was a long discussion about this between the various WG21 paper > authors. > > The stated intend was that 'this' pointer and the 'lambda object pointer' > were in

[Bug c++/102229] New: 'decltype(auto)' cannot be cv-qualified

2021-09-07 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 Bug ID: 102229 Summary: 'decltype(auto)' cannot be cv-qualified Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102229] [11/12 Regression] 'decltype(auto)' cannot be cv-qualified

2021-09-09 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229 --- Comment #7 from Net Can --- here is my use case: https://github.com/netcan/config-loader/blob/master/include/config-loader/serialize/TypeSerializer.h the key is ```c++ #define TYPE_SERIALIZER(_type, _typeName) \ struct T

[Bug c++/102707] New: template coroutine generated code failed

2021-10-12 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 Bug ID: 102707 Summary: template coroutine generated code failed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102707] template coroutine generated code failed

2021-10-12 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102707 --- Comment #1 from Net Can --- the code is compiled success in msvc