2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
#ifndef INSTANCE_INCLUDED
|
|
|
32 |
#define INSTANCE_INCLUDED
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/*
|
|
|
36 |
TEMPLATE INSTANTIATION ROUTINES
|
|
|
37 |
|
|
|
38 |
The routines in this modules are concerned with template instantiation.
|
|
|
39 |
*/
|
|
|
40 |
|
|
|
41 |
extern IDENTIFIER deduce_func PROTO_S ( ( IDENTIFIER, TYPE, int * ) ) ;
|
|
|
42 |
extern IDENTIFIER deduce_args PROTO_S ( ( IDENTIFIER, LIST ( EXP ), int, int, int, ERROR * ) ) ;
|
|
|
43 |
extern IDENTIFIER instance_func PROTO_S ( ( IDENTIFIER, LIST ( TOKEN ), int, int ) ) ;
|
|
|
44 |
extern IDENTIFIER instance_type PROTO_S ( ( IDENTIFIER, LIST ( TOKEN ), int, int ) ) ;
|
|
|
45 |
extern DECL_SPEC define_templ_member PROTO_S ( ( IDENTIFIER, IDENTIFIER, TYPE, EXP ) ) ;
|
|
|
46 |
extern TYPE bind_specialise PROTO_S ( ( IDENTIFIER *, TYPE, DECL_SPEC, int, int, int ) ) ;
|
|
|
47 |
extern TYPE find_form PROTO_S ( ( IDENTIFIER, int * ) ) ;
|
|
|
48 |
extern void templ_func_decl PROTO_S ( ( IDENTIFIER ) ) ;
|
|
|
49 |
extern TYPE deduce_conv PROTO_S ( ( TYPE, TYPE ) ) ;
|
|
|
50 |
extern int bound_specialise ;
|
|
|
51 |
|
|
|
52 |
extern int compare_specs PROTO_S ( ( IDENTIFIER, IDENTIFIER ) ) ;
|
|
|
53 |
extern void complete_class PROTO_S ( ( CLASS_TYPE, int ) ) ;
|
|
|
54 |
extern void define_template PROTO_S ( ( IDENTIFIER, int ) ) ;
|
|
|
55 |
extern void clear_templates PROTO_S ( ( int ) ) ;
|
|
|
56 |
extern LIST ( IDENTIFIER ) still_pending_templates ;
|
|
|
57 |
extern LIST ( IDENTIFIER ) pending_templates ;
|
|
|
58 |
extern INSTANCE all_instances ;
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
#endif
|