Messages Order

  • + 0 comments

    Most of us will use two Message members for the text and some sort of id, I guess.
    Little caveat: don't declare them const !
    The locked code uses 'sort', which calls 'move', and the later requires all members to be non-const (else you get some long and cryptic complaint from the compiler).