Did you read the comment above the definition?

On Sat, 2 Feb 2019 at 11:58, D. Hugh Redelmeier <[email protected]> wrote:
>
> Why do the "real" values start at 3?
>
> In general, I prefer to let the compiler pick values of enums.  (Of course
> that makes no sense if the values are specified by the IETF.)
>
> - the compiler makes fewer mistakes
>    (I think that we have had bugs where the same value was asssigned
>    twice.)
>
> - it removes a burden from the programmer
>
> - it leaves unimportant details out of the code
>
> - it indicates that the values are unimportant
> _______________________________________________
> Swan-dev mailing list
> [email protected]
> https://lists.libreswan.org/mailman/listinfo/swan-dev
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to