http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10634

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-11 
10:21:05 UTC ---
C++0x supports the desired functionality with 'constexpr'

struct Struct {
  static constexpr unsigned char * pointer = (unsigned char*)0x123;
};

I think this enhancement request should be closed, because it's unlikely that
'constexpr' will be made available in c++98 mode and it's even less likely that
an incompatible non-standard extension will be added

Reply via email to