search for: getcurrent

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

Did you mean: get_current
2012 May 04
1
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
...that it is a very old version of 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 CX...
2012 May 07
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
...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 <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...
2012 May 08
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
...iles 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, thi...