Skip to content

关于使用宏而不是内联函数的问题 #242

Description

@SingleRun

__LINE__应该是预处理宏而不是编译宏吧。
使用宏的话,在预处理时就被展开,而内联函数得在编译时才被展开,所以不能使用内联函数。

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions