summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/default-arguments.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-05 00:53:49 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-05 00:53:49 +0000
commitb7ae10f764baceba4c890fa44ef14b71822ebd85 (patch)
treefbde148b9fda7e4174e23c84d8f5fdd5a1930ae9 /clang/test/SemaTemplate/default-arguments.cpp
parent8df7462f698becbef4fc0e7459c065810c38175a (diff)
downloadbcm5719-llvm-b7ae10f764baceba4c890fa44ef14b71822ebd85.tar.gz
bcm5719-llvm-b7ae10f764baceba4c890fa44ef14b71822ebd85.zip
Several improvements to template argument deduction:
- Once we have deduced template arguments for a class template partial specialization, we use exactly those template arguments for instantiating the definition of the class template partial specialization. - Added template argument deduction for non-type template parameters. - Added template argument deduction for dependently-sized array types. With these changes, we can now implement, e.g., the remove_reference type trait. Also, Daniel's Ackermann template metaprogram now compiles properly. llvm-svn: 72909
Diffstat (limited to 'clang/test/SemaTemplate/default-arguments.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud