search for: iwhateverinterface

Displaying 3 results from an estimated 3 matches for "iwhateverinterface".

2012 May 04
1
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
...clang). I then use these xml files to generate the csharp code. Since the header files are written in consistent style, it works pretty well.   But new version of headers contains templates. Nothing fancy, usually stuff like: template IMyEnumerator { virtual HRESULT GetCurrent(T*item) = 0; }; class IWhateverInterface { virtual IMyEnumerator & GetEnumerator() = 0; }; And here lies the problem - since the template IMyEnumerator does not have to be instantiated for clang to compile the headers, this Specialization is not instantiated and the XML does not contain full CXXRecord of the class. I however need to k...
2012 May 07
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
.... Since the header files are written in consistent style, it works > pretty well. > > But new version of headers contains templates. Nothing fancy, usually > stuff like: > template <typename T> > IMyEnumerator { > virtual HRESULT GetCurrent(T*item) = 0; > }; > class IWhateverInterface { > virtual IMyEnumerator<int> & GetEnumerator() = 0; > }; > And here lies the problem - since the template IMyEnumerator<int> is > only used in this declaration, this template specialization is not > instantiated and the XML does not contain full CXXRecord of the cla...
2012 May 08
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
...pretty well. > >> > >> But new version of headers contains templates. Nothing fancy, usually > >> stuff like: > >> template <typename T> > >> IMyEnumerator { > >> virtual HRESULT GetCurrent(T*item) = 0; > >> }; > >> class IWhateverInterface { > >> virtual IMyEnumerator<int> & GetEnumerator() = 0; > >> }; > >> And here lies the problem - since the template IMyEnumerator<int> is > >> only used in this declaration, this template specialization is not > >> instantiated and the X...