Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
dynamic_cast
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
puzzlecracker
#1
dynamic_cast
Sep 29 '08, 07:55 PM
Is it possible for a dynamic_cast to return a non-null pointer even
though source pointer and target pointer don't belong to class
hierarchy?
Victor Bazarov
#2
Sep 29 '08, 08:45 PM
Re: dynamic_cast
puzzlecracker wrote:
Is it possible for a dynamic_cast to return a non-null pointer even
though source pointer and target pointer don't belong to class
hierarchy?
Please post code. Could it be that you're passing a non-class pointer
to the cast, like a void*?
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment