Re: Static Objects as Struct Members
From: Aslan Kral (aslanski2002_at_yahoo.com)
Date: 02/25/05
- Next message: rajkumar_at_hotmail.com: "Re: using fstream objects in a multiuser environ."
- Previous message: Peter Koch Larsen: "Re: const function?"
- In reply to: pmatos: "Re: Static Objects as Struct Members"
- Next in thread: Karl Heinz Buchegger: "Re: Static Objects as Struct Members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Feb 2005 16:37:10 +0200
"pmatos" <pocm@sat.inesc-id.pt>, haber iletisinde sunlari
yazdi:1109341852.271473.11380@g14g2000cwa.googlegroups.com...
> That way won't work because rules will not be a static member of my
> struct. Even if inside my struct I add your code, I'll have defined
> staticrules which will be useless since it was defined only to define
> rules.
>
There is no static member in the code. That answers your question regarding
initializing the map before main() is entered. Of course you can do it some
other ways too.
- Next message: rajkumar_at_hotmail.com: "Re: using fstream objects in a multiuser environ."
- Previous message: Peter Koch Larsen: "Re: const function?"
- In reply to: pmatos: "Re: Static Objects as Struct Members"
- Next in thread: Karl Heinz Buchegger: "Re: Static Objects as Struct Members"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|