new up

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

Etymology[edit]

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

Verb[edit]

new up (third-person singular simple present news up, present participle newing up, simple past and past participle newed up)

  1. (programming, informal, transitive) To create (an object) by calling its constructor.
    Synonym: new
    • 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?”, in comp.lang.basic.realbasic (Usenet):
      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).