Skip to content

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Oct 4, 2019

Copy link
Collaborator

@devyte devyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider renaming functionalVoidVoid per comment.
Other than that, LGTM, approving.


#include <functional>

using functionalVoidVoid = std::function<void()>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is rather confusing.
How about just functionalVoid? Alternatively, a function that takes no args is called a nullary function. A function that doesn't return a value is called a void function. How about:
-nullaryVoid
-functionalNullaryVoid
-functionalVoidNullary
-some variation of the above

@d-a-v d-a-v merged commit c55f49b into esp8266:master Oct 6, 2019
@d-a-v d-a-v deleted the sntpcb branch October 6, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants