From: Douglas Gregor Date: Fri, 17 Jun 2011 22:19:27 +0000 (+0000) Subject: Fix a grammaro X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54fb28ad4a3474845b2b812ac2966f75d5570c17;p=clang Fix a grammaro git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133304 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/AutomaticReferenceCounting.html b/docs/AutomaticReferenceCounting.html index e7b8f22365..b5b17b7273 100644 --- a/docs/AutomaticReferenceCounting.html +++ b/docs/AutomaticReferenceCounting.html @@ -985,7 +985,7 @@ to be intentional in template code.

If a template argument for a template type parameter is an retainable object owner type that does not have an explicit ownership qualifier, it is adjusted to have __strong -qualification. This adjustment occurs both regardless of whether the +qualification. This adjustment occurs regardless of whether the template argument was deduced or explicitly specified.

Rationale: __strong is a useful default for containers (e.g., std::vector<id>), 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.