<?xml version="1.0" encoding="utf-8" ?>
<XMLDocContent PageName="SupportLibraries.MarshalSupport.MarshalOut.reserve" Title="reserve method" xmlns="http://www.exodusemulator.com/schema/XMLDocSchema.xsd">
  <Section Title="Description">
    <Paragraph>
      This method is only available when marshalling <TypeRef>std::vector</TypeRef> objects, and provides equivalent functionality to the corresponding method
      on the native container as defined in the C++ standard. Note that this method does not marshal the container itself in order to perform the operation.
      This method may be useful if only a subset of elements in the collection are being marshalled, through calls to the
      <PageRef PageName="SupportLibraries.MarshalSupport.MarshalOut.SetElement">SetElement method</PageRef>.
    </Paragraph>
  </Section>
  <Section Title="Usage:">
    <Code Language="C++"><![CDATA[void reserve(size_type newSize) const]]></Code>
    <SubSection Title="Argument list">
      <ArgumentList>
        <ArgumentListEntry Name="newSize" Type="size_type">
          The number of elements to reserve capacity for in the bound collection
        </ArgumentListEntry>
      </ArgumentList>
    </SubSection>
  </Section>
  <Section Title="See also">
    <PageRefList>
      <PageRefListEntry PageName="SupportLibraries.MarshalSupport.MarshalOut">Marshal::Out</PageRefListEntry>
      <PageRefListEntry PageName="SupportLibraries.MarshalSupport.MarshalOut.SetElement">SetElement</PageRefListEntry>
    </PageRefList>
  </Section>
</XMLDocContent>
