1. The contestants were to create water structures for the 20th Terraining Contest. Choose one in the public poll!
    Dismiss Notice
  2. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  3. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  4. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice

[Wurst] Ownership Semantics

Discussion in 'Triggers & Scripts' started by Taztingo, Feb 12, 2019.

  1. Taztingo

    Taztingo

    Joined:
    Aug 6, 2010
    Messages:
    7
    Resources:
    0
    Resources:
    0
    Is there any way to represent ownership in wurst? I am referring to move semantics in C++, and lifetime ownership in rust. It would be nice to cleanly show in my code when I am passing an argument that it is transferring ownership, and I don't need to worry about cleaning it up (The new owner will clean it). I can document it, but it won't look as nice.
     
  2. Frotty

    Frotty

    Wurst Reviewer

    Joined:
    Jan 1, 2009
    Messages:
    1,393
    Resources:
    11
    Models:
    3
    Tools:
    1
    Maps:
    5
    Tutorials:
    1
    Wurst:
    1
    Resources:
    11
  3. theQuazz

    theQuazz

    Joined:
    Jan 24, 2017
    Messages:
    12
    Resources:
    1
    Maps:
    1
    Resources:
    1