new up en · VERB
Etymology
The keyword new creates an object in C++ and derived languages.
Meanings
-
(informal, transitive) To create (an object) by calling its constructor.
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).
2003, Jonathan Hoyle, “Pointers?”, in comp.lang.basic.realbasic (Usenet):If an exception occurs trying to new up bar1 or bar2, the TFoo part of the object won't have changed […]
2000, Robert C. Martin, More C++ gems:
Forms
| Spelling | Features | Labels | Source |
|---|---|---|---|
| newed up | Tense=Past, VerbForm=Part | lexicographic | |
| newed up | Tense=Past | lexicographic | |
| news up | Number=Sing, Person=3, Tense=Pres | lexicographic | |
| newing up | Tense=Pres, VerbForm=Part | lexicographic |