Skip to content

ACCESS_PRIVATE_STATIC_FIELD lead to build failure when the static member is initialized out of the class body #29

Description

@1shuaiwpeng

remove the line "Type Class::Name;" can fix the failure

/*#define ACCESS_PRIVATE_STATIC_FIELD(Class, Type, Name)
**Type Class::Name; / *
#define ACCESS_PRIVATE_STATIC_FIELD(Class, Type, Name)
PRIVATE_ACCESS_DETAIL_ACCESS_PRIVATE_STATIC_FIELD(
PRIVATE_ACCESS_DETAIL_UNIQUE_TAG, Class, Type, Name)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions