Placement Syntax - Expressions

Expressions

The Standard C++ syntax for a non-placement new expression is

new new-type-id ( optional-initializer-expression-list )

The placement syntax adds an expression list immediately after the new keyword. This expression list is the placement. It can contain any number of expressions.

new ( expression-list ) new-type-id ( optional-initializer-expression-list )

There is no placement delete expression.

Read more about this topic:  Placement Syntax

Famous quotes containing the word expressions:

    Whatever offices of life are performed by women of culture and refinement are thenceforth elevated; they cease to be mere servile toils, and become expressions of the ideas of superior beings.
    Harriet Beecher Stowe (1811–1896)

    Let it be signified to me through any channel ... that the possession of the Floridas would be desirable to the United States, and in sixty days it will be accomplished.
    ...penned in the language of truth, and divested of those expressions of servility which would persuade his majesty that we are asking favors and not rights.
    Thomas Jefferson (1743–1826)

    The expressions of the poet cannot be analyzed; his sentence is one word, whose syllables are words. There are indeed no words quite worthy to be set to his music. But what matter if we do not hear the words always, if we hear the music?
    Henry David Thoreau (1817–1862)