comment
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Dec 2013 03:58:54 +0000 (03:58 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Dec 2013 03:58:54 +0000 (03:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205953 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/pt.c

index d566afd..6199478 100644 (file)
@@ -15422,9 +15422,9 @@ pack_deducible_p (tree parm, tree fn)
    it.  TARGS is a vector into which the deduced template arguments
    are placed.
 
-   Return zero for success, 2 for an incomplete match that doesn't resolve
-   all the types, and 1 for complete failure.  An error message will be
-   printed only for an incomplete match.
+   Returns either a FUNCTION_DECL for the matching specialization of FN or
+   NULL_TREE if no suitable specialization can be found.  If EXPLAIN_P is
+   true, diagnostics will be printed to explain why it failed.
 
    If FN is a conversion operator, or we are trying to produce a specific
    specialization, RETURN_TYPE is the return type desired.