This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: PR 20599 (variadic templates, take two) (1/4)


Doug Gregor wrote:
On 10/11/06, Jason Merrill <jason@redhat.com> wrote:

Right.  Perhaps thinking about packing and unpacking with that tree code
is the wrong level of granularity.  The PACK_UNPACK_* code just deals
with the substitution, creating a new pack based on the argument packs.
It's the context in which it's used that actually does the unpacking,
right? "Tail..." just represents a pack.

Yes, you're right. It's a placeholder for an expression or type that, after substitution, will become zero or more expressions or types.

So can we change the name to {TYPE,EXPR}_SUBST_PACK or something else less misleading? Thinking of it as a "substitution pack" seems clearer.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]