Skip to content
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

[WIP] Rewrite cpp binding by pimpl #3584

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

JackDrogon
Copy link
Contributor

No description provided.

* @brief The mode of the entry
*/
enum class EntryMode {
kFile = 0,
Copy link
Member

Choose a reason for hiding this comment

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

Why we need to add a k prefix here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tag it as a enum,distinguish it from macro

Copy link

Choose a reason for hiding this comment

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

that totally makes sense for enum, but this in an enum class so it is namespaced which should be totally sufficient.

const noexcept;

private:
struct Rep;
Copy link
Member

Choose a reason for hiding this comment

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

What's the meaning of Rep?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

representative,it's a common cpp impl name

@JackDrogon JackDrogon marked this pull request as draft November 15, 2023 03:06
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com>
@JackDrogon JackDrogon force-pushed the refactor/rewrite_cpp_binding_by_pimpl branch from 625bf93 to cf59ad8 Compare November 18, 2023 07:19
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.

None yet

3 participants