DescriptionDistinguish between C++11 language and library support for <initializer_list>.
It is possible to build for some targets (notably Mac OS X 10.6 and earlier)
with C++11 language support but without C++11 library support. In these
environments, <initializer_list> is not available, so guard its inclusion and
uses of std::initializer_list with a purpose-specific macro,
GMOCK_ENV_HAS_STD_INITIALIZER_LIST_, instead of the generic GTEST_LANG_CXX11
macro.
This change is in the same vein as gtest r629.
Patch Set 1 : . #
MessagesTotal messages: 1
|