Open main menu



cast away (third-person singular simple present casts away, present participle casting away, simple past and past participle cast away)

  1. To discard.
    She cast away her bridal dress along with other reminders of the marriage.
  2. (nautical) To abandon or maroon.
    The mutineers cast away the ship's officers in the longboat.
  3. (computing, programming, transitive) To eliminate by means of a cast operation.
    • 1995, Embedded Systems Programming (volume 8, page 180)
      If you want to change a class member inside a const member function, the traditional approach is to cast away constness by saying (X*)this.


Derived termsEdit