1<?xml version="1.0"?> 2<concept name="DefaultConstructible" category="Utility"><!-- 3Based on concepts from the SGI Standard Template Library documentation: 4Copyright (c) 1996-1999 5Silicon Graphics Computer Systems, Inc. 6 7Copyright (c) 1994 8Hewlett-Packard Company 9--><!-- 10Copyright 2000-2001 University of Notre Dame du Lac. 11Copyright 2001-2002 Indiana University. 12Some concepts based on versions from the MTL draft manual and Boost Graph 13and Property Map documentation: 14Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000 15--> 16 <param name="X" role="default-constructible-type"/> 17 18 <models-sentence>The type <arg num="1"/> must be a model of <self/>.</models-sentence> 19 20 <description><para>DefaultConstructible objects only need to have a default 21 constructor.</para></description> 22 23 <valid-expression name="Construction"> 24 <construct template-parameters=""> 25 <type name="X"/> 26 </construct> 27 <return-type><require-same-type testable="yes"><type name="X"/></require-same-type></return-type> 28 <semantics>Construct an instance of the type with default parameters.</semantics> 29 </valid-expression> 30 31 <example-model> 32 <type name="int"/> 33 </example-model> 34 35 <example-model> 36 <apply-template name="std::vector"> 37 <type name="double"/> 38 </apply-template> 39 </example-model> 40</concept> 41