From: Donny V. <don...@gm...> - 2010-03-11 17:10:26
|
d'oh! thanks, i will get back to my swig code this evening and fix that... On Thu, Mar 11, 2010 at 6:17 AM, Nitro <ni...@dr...> wrote: > Am 11.03.2010, 11:45 Uhr, schrieb Donny Viszneki <don...@gm...>: > >> More follow-up: >> >> Are const static class members supported? These two declarations are >> giving me a syntax error during SWIG processing: >> >> class Foo { >> const static int Bar = 666; >> }; >> >> and: >> >> class Foo { >> const static int Bar; >> }; >> const int Foo::Bar = 666; >> >> I think ideally the semantics for static class members are the same >> for namespace members. > > See here: > http://www.velocityreviews.com/forums/t291248-const-static-vs-static-const.html > . > > -Matthias > -- http://codebad.com/ |