Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  const void * const_pointer = &const_pointer;
  void * const const_value   = &const_value;
I've never really understood why people put const before the type, to me the following is far more obvious:

  void const* const_pointer = &const_pointer;
  void* const const_value = &const_value;


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: