Cbowu

Avatar
  • Total activity 4
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
  • Created

    Error with unordered_map and shared_ptr

    When using unordered_map together with shared_ptr like this:   std::unordered_map<std::shared_ptr<A>,std::shared_ptr<B>> map; A a; B b; map[a] = b; Resharper C++ analysis gives an error information...
    • 2 followers
    • 3 comments
    • 0 votes