From 6cf9b6e081a04a8a561790b890d5f4b13edf7588 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 27 Jul 2015 16:10:20 -0400 Subject: [PATCH] Updated comment on reason for the gyrations when including --- stdcpp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stdcpp.h b/stdcpp.h index 32688cef..99a65525 100644 --- a/stdcpp.h +++ b/stdcpp.h @@ -12,9 +12,8 @@ #include #include -// http://marshall.calepin.co/c-and-xcode-46.html. LLVM places unique_ptr in std:: when using -// using -stdlib=libc++ (and not std::tr1::) regardless of C++03/C++11. We detect can detect -// it with _LIBCPP_VERSION, but its not accurate because Apple's built-in Clang behaves +// http://marshall.calepin.co/c-and-xcode-46.html. Apple does some wonky stuff with +// , auto_ptr and unique_ptr. Apple's built-in Clang behaves // differently than a LLVM downloaded and compiled CLang. So we fall back to Clang's // __has_include (http://clang.llvm.org/docs/LanguageExtensions.html#id3). #if (__cplusplus >= 201103L) && !defined(__clang__)