Re: Dependency loop with templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Perry,

>From http://www.research.att.com/~bs/glossary.html

two-phase lookup - a somewhat complicated mechanism used in compilation of
templates. Names that do not depend on a template parameter are looked up
(and bound) early, i.e., when the template template definition is first seen
("phase 1 lookup"). Names that depend on a template parameter are looked up
late, i.e. during template instantiation ("phase 2 lookup") so that the
lookup can find names relating to actual template arguments. TC++PL C::13.8.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux