• @[email protected]
    link
    fedilink
    English
    310 months ago

    I think you’ve got it backwards. I learned to read pointer decls from right-to-left, so const int * is a (mutable) pointer to an int which is const while int *const is a const pointer to a (mutable) int.

    • Traister101
      link
      fedilink
      210 months ago

      Fuck me man that’s what I get for writing that just before bed