Re: One more bug - please vote
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Fri, 27 May 2005 07:07:07 +0400
> (2) The uint64( ( -int64( ...) ) ) syntax *IS* a C++ typecast and a C++
> constructor. It's a typecast in this particular case. Anyway, if you prefer,
This is called "typecast by constructor" in C++ :)
> IMHO the below is more compact and clear.
>
> ui64DueTime = uint64( ( -int64( ui64DueTime - m_uliTickCounter.QuadPart )
> * 10000i64 ) );
Yes, drop the Hungarian notation and the things will be even clearer :)
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
.
- Follow-Ups:
- Re: One more bug - please vote
- From: cristalink
- Re: One more bug - please vote
- From: Leo Havmøller
- Re: One more bug - please vote
- References:
- One more bug - please vote
- From: cristalink
- RE: One more bug - please vote
- From: Pavel A.
- Re: One more bug - please vote
- From: cristalink
- One more bug - please vote
- Prev by Date: Re: Correct group for WDM development??
- Next by Date: Re: How do I determine modem type?
- Previous by thread: Re: One more bug - please vote
- Next by thread: Re: One more bug - please vote
- Index(es):
Relevant Pages
|