You could wrap the templated default ctor in a feature-test macro. This is done many other places in the library. http://reviews.llvm.org/D7384 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/