Hacker News new | past | comments | ask | show | jobs | submit login

You can always be explicit:

    typedef uint16_t vector_size_t;
    typedef uint64_t vector_size_t;
    #error "Unsupported platform."
That's better than your code which inserts 100,000 things into a vector mysteriously breaking on certain platforms (on which you may or may not have tested your code).

Applications are open for YC Summer 2020

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