Blender V5.3
bsl::SymbolTemplate< T > Struct Template Reference

#include <symbol_template.hh>

Public Member Functions

 SymbolTemplate (ast::TemplateDecl temp)
bool is_adl_possible () const
ResultPair< T *, string > lookup_inst (ast::TemplateParamList list, const SymbolScope &scope, const SymbolTable &table) const
Result< T * > lookup_adl (const SymbolTable &symbols, ast::FuncParamList list, const SymbolScope &scope) const

Public Attributes

ast::TemplateDecl decl
unordered_map< string, T * > instances
vector< int > temp_arg_index_in_fn_arg

Detailed Description

template<typename T>
struct bsl::SymbolTemplate< T >

Templated symbol additional storage. Contains instances and reference to the declaration.

Definition at line 28 of file symbol_template.hh.

Constructor & Destructor Documentation

◆ SymbolTemplate()

Member Function Documentation

◆ is_adl_possible()

template<typename T>
bool bsl::SymbolTemplate< T >::is_adl_possible ( ) const
inline

Definition at line 39 of file symbol_template.hh.

Referenced by lookup_adl().

◆ lookup_adl()

◆ lookup_inst()

Member Data Documentation

◆ decl

template<typename T>
ast::TemplateDecl bsl::SymbolTemplate< T >::decl

Definition at line 30 of file symbol_template.hh.

Referenced by lookup_inst(), and SymbolTemplate().

◆ instances

template<typename T>
unordered_map<string, T *> bsl::SymbolTemplate< T >::instances

◆ temp_arg_index_in_fn_arg

template<typename T>
vector<int> bsl::SymbolTemplate< T >::temp_arg_index_in_fn_arg

Definition at line 35 of file symbol_template.hh.

Referenced by bsl::SymbolTable::mangle_identifier(), and SymbolTemplate().


The documentation for this struct was generated from the following files: