Assertion: class's constructor | /r/CapableOf | take single parameter
Facets:
Source sentences:
text: Here is an example with four ways to construct objects of a class whose constructor takes a single parameter:
text: Here is an example with four ways to construct objects of a class whose constructor takes a single parameter:An advantage of uniform initialization over functional form is that, unlike parentheses, braces cannot be confused with function declarations, and thus can be used to explicitly call default constructors:The choice of syntax to call constructors is largely a matter of style.