Pull request 937 in include-what-you-use: Support class template argument deduction

1 view
Skip to first unread message

notifi...@include-what-you-use.org

unread,
Jul 20, 2021, 4:19:11 PMJul 20
to include-wh...@googlegroups.com
New pull request 937 by kimgr: Support class template argument deduction
https://github.com/include-what-you-use/include-what-you-use/pull/937

CTAD is a C++17 feature that allows template arguments to be deduced from
constructor expressions. For example:

A a(10, 20);

is shorthand for:

A<int, int> a(10, 20);

This should fix issue #826.

notifi...@include-what-you-use.org

unread,
Jul 20, 2021, 4:19:41 PMJul 20
to include-wh...@googlegroups.com
Comment #0 on pull request 937 by kimgr: Support class template argument deduction
https://github.com/include-what-you-use/include-what-you-use/pull/937

@vmiklos Could you take a look at this attempt to fix #826?

notifi...@include-what-you-use.org

unread,
Jul 21, 2021, 3:35:59 AMJul 21
to include-wh...@googlegroups.com
Comment #2 on pull request 937 by vmiklos: Support class template argument deduction
https://github.com/include-what-you-use/include-what-you-use/pull/937

Yes, it fixes the problem I reported. Thanks! :-)

Reply all
Reply to author
Forward
0 new messages