~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/InstantiationCandidate.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
class CTree;
30
30
class CUnit;
 
31
class CRecord;
31
32
class CTypeInfo;
32
33
class CConstant;
33
34
class CStructure;
35
36
class CObjectInfo;
36
37
class CT_SimpleName;
37
38
class CTemplateInfo;
 
39
class CTemplateInstance;
38
40
class CTemplateParamInfo;
39
41
 
40
42
class InstantiationCandidate {
60
62
  void forgetDeducedArgs ();
61
63
 
62
64
  bool deduceArguments (bool real_inst);
 
65
  bool deduceArgumentsFromFctCall (unsigned skip = 0);
63
66
  bool match ();
64
67
  int compare (InstantiationCandidate &);
65
68
 
75
78
  int getPosition (CTemplateParamInfo *) const;
76
79
 
77
80
private:
78
 
  bool deduceArguments (unsigned skip);
79
 
  bool deduceArguments (CTypeInfo *, CTypeInfo *, DeducedArgumentList &);
 
81
  int deduceArguments (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match = false);
 
82
  int deduceFromArray (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match);
 
83
  int deduceFromFunction (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match);
 
84
  int deduceFromMemberPointer (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match);
 
85
  int deduceFromRecord (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match);
 
86
  int deduceTemplateParam (CTypeInfo *ftype, CTypeInfo *atype, DeducedArgumentList &dargs, bool exact_match);
 
87
  int deduceArgumentsFromTemplateArgList (CTemplateInstance *fi, CTemplateInstance *ai, DeducedArgumentList &dargs);
 
88
  bool joinDeducedArguments (DeducedArgumentList &dargs, DeducedArgumentList &curr_dargs, bool &matching_args, bool &ambiguous_type);
 
89
  void getTemplateInstances(CRecord* c, Array<CTemplateInstance*>& instances);
80
90
  bool matchArgument (CTree *pexpr, CTree *aexpr);
81
91
  bool matchArgument (CTypeInfo *ptype, CTypeInfo *atype, CTree *aexpr);
82
92
  bool sameValue (int pos, CConstant *value);
83
93
  bool sameType (int pos, CTypeInfo *type);
 
94
  bool setDeducedArgument (DeducedArgumentList &args, int pos, DeducedArgument *arg);
 
95
  bool matchingTemplateParameters (CTemplateParamInfo *param, CObjectInfo *ainfo);
 
96
  CTemplateInfo *getTemplateInfo (CObjectInfo *info);
84
97
};
85
98
 
86
99
inline CObjectInfo *InstantiationCandidate::ObjectInfo () const