1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Join the 6th Melee Mapping Contest for a chance to have your map featured in this year's Hive Cup!
    Dismiss Notice
  4. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  5. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  6. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[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,478
    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