Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Gopal
2k
135
9.8k
need help i created a map of unique_ptr std::map<std::unique_ptr<class
Mar 9 2021 10:45 AM
need help i created a map of unique_ptr std::map
, std::unique_ptr
> now while iterating for( auto& [key, val] : mymap) key is const std::unique_ptr
and val is std::unique_ptr
i don't know its the right way of doing this, i need key as non const ptr
Reply
Answers (
8
)
Why does this print 0 even when i is neither a global variable nor a s
I wanna write a program for unit conversation. From inch to centimeter