Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #8450 > unrolled thread
| Started by | ahso <ahso47@yahoo.com> |
|---|---|
| First post | 2011-08-03 23:38 -0700 |
| Last post | 2011-08-04 19:36 +1200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.c++
heredity etc ahso <ahso47@yahoo.com> - 2011-08-03 23:38 -0700
Re: heredity etc Ian Collins <ian-news@hotmail.com> - 2011-08-04 19:36 +1200
| From | ahso <ahso47@yahoo.com> |
|---|---|
| Date | 2011-08-03 23:38 -0700 |
| Subject | heredity etc |
| Message-ID | <62d3fb97-3f2d-421b-b4e9-f4415f9961c8@x29g2000yqb.googlegroups.com> |
Hi
I don't understand this line at all:
-----
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
-----
as below. What exactly is that doing?
Many thanks
Michael
---------
enum FMSInterfaces {
FMSSystemInterface,
FMSDatabaseInterface,
FMSPadInterface,
FMSIRSInterface,
FMSPrefInterface
};
struct InterfaceQuery
{
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
FMSInterfaces interfaceId;
void* itsInterface;
};
[toc] | [next] | [standalone]
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Date | 2011-08-04 19:36 +1200 |
| Message-ID | <99v0f2Far7U4@mid.individual.net> |
| In reply to | #8450 |
On 08/ 4/11 06:38 PM, ahso wrote: > Hi > I don't understand this line at all: The same question was asked (and answered) once already today. -- Ian Collins
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c++
csiph-web