Definify.com
Definition 2024
cast_away
cast away
See also: castaway
English
Verb
cast away (third-person singular simple present casts away, present participle casting away, simple past and past participle cast away)
- To discard.
- She cast away her bridal dress along with other reminders of the marriage.
- (nautical) To abandon or maroon.
- The mutineers cast away the ship's officers in the longboat.
- (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
.
- If you want to change a class member inside a
- 1995, Embedded Systems Programming (volume 8, page 180)