commit | e1678a18d957b91855aadcd3186f21bd142959e0 | [log] [tgz] |
---|---|---|
author | Logan Chien <tzuhsiang.chien@gmail.com> | Fri Jan 31 09:30:46 2014 +0000 |
committer | Logan Chien <tzuhsiang.chien@gmail.com> | Fri Jan 31 09:30:46 2014 +0000 |
tree | 2fd240d1f070706e37fdaf158e6acbd102d49bcf | |
parent | a612c627400f9132f1abe5e5b790dd0466a51b2b [diff] |
Remove default function template argument from the header. GCC will treat the default function template arguments as a compilation error if C++0x is not enabled. This commit workaround the compilation error by moving the SFINAE check to function argument instead of the template argument. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@200523 91177308-0d34-0410-b5e6-96231b3b80d8