From b8b5426bc3b471fc15cdb34739a3c91fe4c4653f Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 15 May 2010 18:47:13 +0000 Subject: [PATCH] Clang now supports the NRVO [SVN r62004] --- include/boost/config/compiler/clang.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index c37ad622..53339b4c 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -28,7 +28,7 @@ # define BOOST_HAS_MS_INT64 #endif -// NOTE: Clang does not yet support NRVO. +#define BOOST_HAS_NRVO // NOTE: Clang's C++0x support is not worth detecting. However, it // supports both extern templates and "long long" even in C++98/03