new up

English

Etymology

The keyword new creates an object in C++ and derived languages.

Verb

new up

  1. (programming, informal, transitive) To create (an object) by calling its constructor.
    • 2000, Robert C. Martin, More C++ gems
      If an exception occurs trying to new up bar1 or bar2, the TFoo part of the object won't have changed...
    • 2003, "Jonathan Hoyle", Pointers? (on Internet newsgroup comp.lang.basic.realbasic)
      So you just new up the object you want and once its internal reference count drops to 0, the language deletes it (during a free time as a background thread).
This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.