Fix a grammaro

llvm-svn: 133304
This commit is contained in:
Douglas Gregor 2011-06-17 22:19:27 +00:00
parent e46db90c9a
commit 4fdf57b0b2
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ to be intentional in template code.</p></div>
<p>If a template argument for a template type parameter is an <p>If a template argument for a template type parameter is an
retainable object owner type that does not have an explicit ownership retainable object owner type that does not have an explicit ownership
qualifier, it is adjusted to have <tt>__strong</tt> qualifier, it is adjusted to have <tt>__strong</tt>
qualification. This adjustment occurs both regardless of whether the qualification. This adjustment occurs regardless of whether the
template argument was deduced or explicitly specified. </p> template argument was deduced or explicitly specified. </p>
<div class="rationale"><p>Rationale: <tt>__strong</tt> is a useful default for containers (e.g., <tt>std::vector&lt;id&gt;</tt>), which would otherwise require explicit qualification. Moreover, unqualified retainable object pointer types are unlikely to be useful within templates, since they generally need to have a qualifier applied to the before being used.</p></div> <div class="rationale"><p>Rationale: <tt>__strong</tt> is a useful default for containers (e.g., <tt>std::vector&lt;id&gt;</tt>), which would otherwise require explicit qualification. Moreover, unqualified retainable object pointer types are unlikely to be useful within templates, since they generally need to have a qualifier applied to the before being used.</p></div>