From: Dean M. C. B. <dmb...@fr...> - 2008-04-15 11:31:30
|
Hi Glyn, > -----Original Message----- > From: cpp...@li... > [mailto:cpp...@li...] On > Behalf Of Glyn Matthews > Sent: Tuesday, April 15, 2008 7:24 PM > To: C++ Networking Library Developers Mailing List > Subject: Re: [cpp-netlib-devel] Review of http::message > [snip code] > > > Maybe I'm missing something here, but isn't it an error to > initialize a static non-integral type inside a struct definition? I actually am not yet sure myself, but given 'char const * const' is essentially a pointer type (which can be considered an integral type) this just might work. This is one reason I'd love to have unit tests too. ;) Let me get back to you on this, I can spike it with a compiler. -- Dean Michael Berris Software Engineer, Friendster, Inc. <dmb...@fr...> +639287291459 |