[PATCH] Local classes in templates (PR9685 fix)

Richard Smith richard at metafoo.co.uk
Sun Aug 11 12:55:22 PDT 2013


  DR1484 seeks to clarify that local classes of function templates are *not*
  separately instantiated, and are instead instantiated as part of
  instantiating the surrounding function template. Once we implement that,
  the changes in this patch should become redundant.

  (Generic lambdas add a complication here, but even then, it seems that we
  must instantiate the body of the lambda eagerly in order to determine their
  set of captures.)


More information about the cfe-commits mailing list