[Bug c++/82308] [C++17] deduction of template arguments results in internal compiler error

2017-09-25 Thread sdalleig at mmci dot uni-saarland.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82308 --- Comment #2 from sdalleig at mmci dot uni-saarland.de --- I think that the error-message you get is correct if you are using C++14. The new standard allows for template argument deduction based on constructors and guides. The problem

[Bug c++/82308] New: [C++17] deduction of template arguments results in internal compiler error

2017-09-23 Thread sdalleig at mmci dot uni-saarland.de
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sdalleig at mmci dot uni-saarland.de Target Milestone: --- Please consider the following code (gcc.godbolt.org link: https://godbolt.org/g/EX9Fko) #include template class X