Ok, I am not done
>introduces the structured replacement for macro functions<<
No, it does not introduce a replacement. You can still use these
constructs in C++.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Thursday, November 01, 2001 5:43 AM
To: NT Developers Interest List
Subject: [ntdev] Re: 3rd party Device driver development tool or pure
wdm driver developmentā¦Which is the best???
Right. So C++ being a MORE MODERN LANGUAGE, introduces the structured
replacement for macro functions, the inline function. But we shouldnāt
use this because we arenāt sure how it might work, and K&R didnāt need
it in C, and the Gods Who Wrote NT used macro functions so we should do
this as well. Uh-oh, microsoft C supports C++ inline functions. Hey,
wait a second, the NT operating system has both macro functions and
inline functions. What the heckā¦
-----Original Message-----
From: xxxxx@visiontech-dml.com [mailto:xxxxx@visiontech-dml.com]
Sent: Wednesday, October 31, 2001 8:48 PM
To: NT Developers Interest List
Subject: [ntdev] Re: 3rd party Device driver development tool or pure
wdm driver developmentā¦Which is the best???
On 10/31/01, āāMaxim S. Shatskihā ā wrote:
> > Hmm, Microsoft does not like hidden semantics in such important
> > areas? I donāt believe it. Look in ntddk.h for all this pretties
> > like PAGED_CODE, ASSERT, IsListEmpty macroses - they really can
> > drive you crazy during debuging.
>
> Nothing crazy at all.
ā
It is a well know fact that using macroses in C (and, BTW, in C++ as
well)
is the way to introduce problems in your code and hide semantics.
>
> Max
>
ā
Regards,
Gennady Mayko.
>
>
> ā
> You are currently subscribed to ntdev as: xxxxx@stratus.com To
> unsubscribe send a blank email to leave-ntdev-$subst(āRecip.MemberIDCharā)@lists.osr.com
ā
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(āRecip.MemberIDCharā)@lists.osr.com
ā
You are currently subscribed to ntdev as: xxxxx@storagecraft.com To
unsubscribe send a blank email to leave-ntdev-$subst(āRecip.MemberIDCharā)@lists.osr.com
ā
You are currently subscribed to ntdev as: $subst(āRecip.EmailAddrā)
To unsubscribe send a blank email to leave-ntdev-$subst(āRecip.MemberIDCharā)@lists.osr.com