Re: [Boost-bugs] [Boost C++ Libraries] #5112: [config][intel] Patch to detect C++0x features under Intel C++ compiler

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5112: [config][intel] Patch to detect C++0x features under Intel C++ compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-26 10:16:27


#5112: [config][intel] Patch to detect C++0x features under Intel C++ compiler
--------------------------------------+-------------------------------------
  Reporter: spillner@… | Owner: johnmaddock
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost Development Trunk | Severity: Not Applicable
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by spillner@…):

 I know that there's some decltype support in 11.1, but I received number
 of compilation warnings (specifically on things like

 template < class T > struct Z {
   T dummy;
   typedef decltype(dummy.get()) retval;
 };

 ) that went away when shifting to ICC 12 or GCC, so I enabled that only in
 12 and up. This seems consistent with http://software.intel.com/en-
 us/articles/c0x-features-supported-by-intel-c-compiler/ , which is more
 conservative than e.g.
 http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport .

 I didn't have a mature use case for the other features, so I confined my
 attention to the three in the patch. They're also all supported by GCC,
 which gave me greater confidence in testing. Bottom line, I don't have
 any reason to believe that the features you named don't work well, I just
 haven't proven that they do.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5112#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC