https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
--- Comment #2 from dongkyun.s at samsung dot com ---
This might be related with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106649
applied on GCC-13 but latest clang can build this example though.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
--- Comment #1 from dongkyun.s at samsung dot com ---
Created attachment 58356
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58356&action=edit
example code
example code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
Bug ID: 115358
Summary: template argument deduction/substitution failed on
lambda function
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115357
Bug ID: 115357
Summary: template argument deduction/substitution failed on
lambda function
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal