[Bug c++/97999] pass address of instance of function template to another instance of the same function template with placeholder return type

2020-11-25 Thread spartan_117 at juno dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97999 --- Comment #1 from spartan_117 at juno dot com --- Adding a statement before the call that simply takes the address of the inner function template instance results in successful compilation. For example: template static auto yolo(type) {} aut

[Bug c++/97999] New: pass address of instance of function template to another instance of the same function template with placeholder return type

2020-11-25 Thread spartan_117 at juno dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97999 Bug ID: 97999 Summary: pass address of instance of function template to another instance of the same function template with placeholder return type Product: gcc V