Can anyone tel me the implementation of typeid operator and how its returning typeinfo reference.......
Rocker Gang 0 Newbie Poster
Recommended Answers
Jump to PostThe implementation depends on your compiler. But the basic idea is that the compiler knows about types such that it can create a type_info instance for each unique type and return a reference to that instance when you use typeid.
All 2 Replies
Narue 5,707 Bad Cop Team Colleague
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.