Search:

Type: Posts; User: Elysia

Search: Search took 0.22 seconds.

  1. Replies
    13
    Views
    3,181

    Pointers are only necessary if you're going to...

    Pointers are only necessary if you're going to move around data a lot, for example assigning a set to another.
    However, as the rule goes, start without pointers first, and if you application is...
  2. Replies
    13
    Views
    3,181

    operator < should accept two const references for...

    operator < should accept two const references for efficiency's sake.
    And lawrenced: avoid pointers in the first place. Just create your Reservations and put them into the set. No new. No delete.
Results 1 to 2 of 2