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:
“Its idea of production value is spending a million dollars dressing up a story that any good writer would throw away. Its vision of the rewarding movie is a vehicle for some glamour-puss with two expressions and eighteen changes of costume, or for some male idol of the muddled millions with a permanent hangover, six worn-out acting tricks, the build of a lifeguard, and the mentality of a chicken-strangler.”
—Raymond Chandler (18881959)
“Preschoolers think and talk in concrete, literal terms. When they hear a phrase such as losing your temper, they may wonder where the lost temper can be found. Other expressions they may hear in times of crisisraising your voice, crying your eyes out, going to pieces, falling apart, picking on each other, you follow in your fathers footstepsmay be perplexing.”
—Ruth Formanek (20th century)
“Those expressions are omitted which can not with propriety be read aloud in the family.”
—Thomas Bowdler (17541825)