jfb added a comment. As discussed in now-abandoned http://reviews.llvm.org/D17950 I'll implement everything in libc++. I just have to move the feature test macro to libc++. http://reviews.llvm.org/D17951