i'm writting some kind of intelligent pointer
suppose user put const Class as typename T.
how to remove const part of T?
sopel39
0
Newbie Poster
Recommended Answers
Jump to Post>suppose user put const Class as typename T.
Then you should respect their wishes, duh. A smart pointer doesn't sound very smart if it doesn't know how to properly point to a const type...
All 3 Replies
Reply to this topic
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.