Method for separate compilation of templates
DCFirst Claim
Patent Images
1. A method of creating an executable program from source programs having templates comprising the steps of:
- a) providing a first source file having a template definition;
b) providing a second source file having a template instantiation;
c) compiling the first source file and the second source file into first and second object files, the first object file comprising a template definition;
d) linking the first and second object files into an executable program.
1 Assignment
Litigations
0 Petitions
Accused Products
Abstract
A method and apparatus for separate compilation of templates by creating an executable program from source programs having templates that include a source file having a template definition and one or more source files having a template instantiation, and by providing a compiled object file having the template definition as input to compilation processes for creating object files having the template instantiation upon object files are provided to a linker process for creating the executable program. In this way, compilation of the source programs may occur with the template definition occurring in only one source program.
35 Citations
6 Claims
-
1. A method of creating an executable program from source programs having templates comprising the steps of:
-
a) providing a first source file having a template definition;
b) providing a second source file having a template instantiation;
c) compiling the first source file and the second source file into first and second object files, the first object file comprising a template definition;
d) linking the first and second object files into an executable program. - View Dependent Claims (2)
-
-
3. A method of creating an executable program from source programs having templates comprising the steps of:
-
a) providing a first source file having a template definition;
b) compiling the first source file into a first object file;
c) providing a second source file having a template instantiation;
d) compiling the second source file into a second object file, the step of compiling the second source file into a second object file having as inputs the second source file and a translation of the template definition. - View Dependent Claims (4)
-
-
5. A method of creating an executable program from source programs having templates comprising the steps of:
-
a) providing a first source file having a template definition;
b) compiling the first source file into a first object file;
c) providing a second source file having a template instantiation;
d) compiling the second source file into a second object file, the step of compiling the second source file into a second object file having as inputs the second source file and the template definition from the first object file. - View Dependent Claims (6)
-
Specification