Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Please Upvote: C++/CLI: std::move causes std::unique_ptr parameter to be destructed before function call

Please Upvote: C++/CLI: std::move causes std::unique_ptr parameter to be destructed before function call

Scheduled Pinned Locked Moved Managed C++/CLI
helpc++htmlcom
3 Posts 2 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    John Schroedl
    wrote on last edited by
    #1

    Hi C++/CLI devs, If you have a minute please consider upvoting this bug report as the more votes it gets, the better the chance Microsoft will actually fix it. The bug is really bad if you move std::unique_ptr values into C++/CLI there is a double-free and your application will crash. https://developercommunity.visualstudio.com/content/problem/201217/ccli-stdmove-causes-stdunique-ptr-parameter-to-be.html I posted about the same issue back just before MS moved everything out of uservoice into developercommunity so it lost its earlier votes/momentum. John

    L 1 Reply Last reply
    0
    • J John Schroedl

      Hi C++/CLI devs, If you have a minute please consider upvoting this bug report as the more votes it gets, the better the chance Microsoft will actually fix it. The bug is really bad if you move std::unique_ptr values into C++/CLI there is a double-free and your application will crash. https://developercommunity.visualstudio.com/content/problem/201217/ccli-stdmove-causes-stdunique-ptr-parameter-to-be.html I posted about the same issue back just before MS moved everything out of uservoice into developercommunity so it lost its earlier votes/momentum. John

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This is not the place for such messages.

      J 1 Reply Last reply
      0
      • L Lost User

        This is not the place for such messages.

        J Offline
        J Offline
        John Schroedl
        wrote on last edited by
        #3

        What?? This is the Managed C++/CLI forum. This crash directly affects C++/CLI code. I'd think anyone that cares about successfully coding in C++/CLI will care about this. Thus, the post.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups