1. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  2. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  3. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  4. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    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,353
    Resources:
    10
    Models:
    3
    Tools:
    1
    Maps:
    4
    Tutorials:
    1
    Wurst:
    1
    Resources:
    10