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).

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