none
Templated IntPrt RRS feed

  • Question

  • Hello. Is there a templated managed class wich can hold a pointer of unmanaged one and has overridden methods Equals and GetHashCode? I've written such class and it's pretty simple but i'm wondering if such class already exists and i don't need to invent a bicycle. Thanks.
    Saturday, April 27, 2013 12:43 PM

Answers

  • Simple classes like this with little demand do not belong to .Net. Complains for the download size of .Net never stopped.

    You could try search existing class in open source communities, but it does take less time to write your own in this case.



    Visual C++ MVP

    • Marked as answer by Booster1 Saturday, April 27, 2013 7:03 PM
    Saturday, April 27, 2013 5:14 PM

All replies

  • Simple classes like this with little demand do not belong to .Net. Complains for the download size of .Net never stopped.

    You could try search existing class in open source communities, but it does take less time to write your own in this case.



    Visual C++ MVP

    • Marked as answer by Booster1 Saturday, April 27, 2013 7:03 PM
    Saturday, April 27, 2013 5:14 PM
  • Thank you. Yes, it's not a problem at all. I've just wanted to be sure whether i need to use my own class or not because i'm strictly against of inventing the bicycle.
    Saturday, April 27, 2013 7:03 PM