Better HN
topnewbestaskshowjobs
Log inSign up

UnluckySelf

1 karma · joined Jul 11, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

But you can distinguish between default and unset: all optional fields have has_ method associated with them: https://protobuf.dev/reference/cpp/cpp-generated/#fields