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)

    We ought to celebrate this hour by expressions of manly joy. Not thanks, not prayer seem quite the highest or truest name for our communication with the infinite,—but glad and conspiring reception,—reception that becomes giving in its turn, as the receiver is only the All-Giver in part and infancy.
    Ralph Waldo Emerson (1803–1882)

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