locked
how to compare two CTypedptrList? RRS feed

  • Question

  • Hi,

     How to compare two CTypedPtrList of same class with same size?

    Thanks in advance.

    Friday, October 24, 2014 1:01 PM

All replies

  • On 24/10/2014 15:01, rmgs123 wrote:

    Hi,

      How to compare two CTypedPtrList of same class with same size?

    What do you mean with "compare" in this case?

    There are several types of comparisons, and they depend on the particular type of item stored in the lists.
    For example, if the lists store integers, you can compare them using the usual integer comparators like >, >=, <, <=, etc.

    So, please clarify your particular comparison criteria.

    Giovanni

    Friday, October 24, 2014 1:07 PM
  • I am storing objects in the CTypedPtrList. Is it possible to compare 2 CTypedPtrlist using == operator.
    Friday, October 31, 2014 5:20 AM