Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 C++CLI complex overloads for interfaces fail
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
300 Posts

Posted - Oct 12 2016 :  02:16:50 AM  Show Profile  Reply with Quote
When I want to implement interface like IEnumerable or IEnumerator I get errors from the compiler, because the overloaded functions have the same name and you need to specify the target interface to overload

The problem is described here
http://stackoverflow.com/questions/2133536/implementing-ienumerablet-in-c-cli

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

accord
Whole Tomato Software

United Kingdom
3282 Posts

Posted - Oct 14 2016 :  03:25:37 AM  Show Profile  Reply with Quote
Are you trying to use the Implement Interface refactoring command?

I didn't have any luck to create a compiling code sample. Can you please create a simple test project that can be compiled and used to test the command? You can zip it up and send it in using our contact form:
http://www.wholetomato.com/support/contact.asp

Please mention the URL of this topic in the description.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000