forked from OSchip/llvm-project
4afc236cee
instantiating the parameters. In a perfect world, this wouldn't matter, and compilers are free to instantiate in any order they want. However, every other compiler seems to instantiate the return type first, and some code (in this case, Boost.Polygon) depends on this and SFINAE to avoid instantiating something that shouldn't be instantiated. We could fight this battle, and insist that Clang is allowed to do what it does, but it's not beneficial: it's more predictable to instantiate this way, in source order. When we implement late-specified return types, we'll need to instantiate the return type last when it was late-specified, hence the FIXME. We now compile Boost.Polygon properly. llvm-svn: 112561 |
||
---|---|---|
.. | ||
temp.deduct.call | ||
temp.deduct.conv | ||
temp.deduct.funcaddr | ||
temp.deduct.partial | ||
temp.deduct.type | ||
p9.cpp | ||
sfinae-1.cpp |