-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace NEST typedefs with plain C++ datatypes #2618
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These constant values here are fixed at compile time, thus using constexpr
is a good thing to do here.
Apart from that, everything looks right to me.
Edit: I didn't check yet if you missed any instances. Jochen, can you check that while you are reviewing? |
@pnbabu any updates? |
@pnbabu This looks good now overall, but having just read Stroustrup's "Tour", I am wondering about replacing so much with |
Looks good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly fine by me. Just one repetitive pattern where I think the static_cast
is not needed.
This PR fixes #2541. It replaces the following typedefs
index
,thread
,port
,rport
withsize_t
weight
withdouble
delay
withlong