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:

    Those expressions are omitted which can not with propriety be read aloud in the family.
    Thomas Bowdler (1754–1825)

    Our books are false by being fragmentary: their sentences are bon mots, and not parts of natural discourse; childish expressions of surprise or pleasure in nature; or, worse, owing a brief notoriety to their petulance, or aversion from the order of nature,—being some curiosity or oddity, designedly not in harmony with nature, and purposely framed to excite surprise, as jugglers do by concealing their means.
    Ralph Waldo Emerson (1803–1882)

    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)