79520718

Date: 2025-03-19 15:55:12
Score: 0.5
Natty:
Report link

Translated translation units and instantiation units are combined as follows:

The separate translation units of a program communicate by (for example) calls to functions whose identifiers have

Some or all of these translated translation units and instantiation units may be supplied from a library. Required instantiations may include instantiations which have been explicitly requested. It is implementation-defined whether the source of the translation units containing these definitions of the required templates are located is required to be available. Translation units can be separately translated and then later linked to produce an executable program.

Thus Instantiation units are similar to translated translation units, but contain no references to un-instantiated templates and no template definitions.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ian Lowson