This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ constant expressions in __attribute__


On Wed, 4 Mar 2009, Piotr Wyderski wrote:

> Hello,
> 
> Is it possible to allow C++ constant expressions (currently static const,
> and C++0x constexpr in the future) to be used as __attribute__ parameters
> in the upcomming version of GCC? In my code I have the following construction:

What does C++0x say about this, if any C++0x [[]] attributes have integer 
parameters?

(Not that I am impressed with the incompatibilities of C++0x attributes 
with existing practice or their ignoring all the hard issues with 
attributes that have actually come up in GCC implementation experience - 
along with the proposals having long lists of people they were discussed 
with, none of whom have been involved in any of the discussions of these 
issues with attributes in GCC.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]