Re: reinterpret_cast
- From: "anton bassov"<xxx@xxxxxxx>
- Date: Mon, 17 Apr 2006 20:48:01 -0500
Hi Slava
Looks like you are right - I changed declaration of struct to "public", so
that everything worked the way you said
(compile error with static_cast, but C-style cast produced the same result
as static_cast does). However, when I tried it with class, again, C-style
cast produced the same result as reinterpret_cast does. Therefore, there
must be some compiler error
I am going to re-install VC++ - probably, there is some run-time error or
something. I just wonder what happens
Regards
Anton Bassov
.
- References:
- Re: reinterpret_cast
- From: Slava M. Usov
- Re: reinterpret_cast
- Prev by Date: Re: reinterpret_cast
- Next by Date: Re: reinterpret_cast
- Previous by thread: Re: reinterpret_cast
- Next by thread: Re: reinterpret_cast
- Index(es):
Relevant Pages
|