Hi all, I need someone's help who have worked with SESC before. I have a problem in understanding some functions of the code and here I are they in the src/libemul/InstDesc.cpp

PHP Code:
    template<typename TRegName RTyp>
    static 
inline void setReg(ThreadContext *contextRegName nameT val){
      return 
ArchDefs<mode>::template setReg<T,RTyp>(context,name,val);
    } 
and

PHP Code:
    template<typename TRegName RTyp>
    static 
inline T getReg(const ThreadContext *contextRegName name){
      return 
ArchDefs<mode>::template getReg<T,RTyp>(context,name);
    } 
I'm confused on how these two functions are defined.

Thank you for the help