Skip to content

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

Open
@1shuaiwpeng

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions