Skip to content

[basic.start.main] Restrictions of the main function on a freestanding implementation not requiring it #483

@frederick-vs-ja

Description

@frederick-vs-ja

Full name of submitter (unless configured in github; will be published with the issue): Jiang An

Reference (section label): [basic.start.main]

Link to reflector thread (if any):

Issue description:

It seems that the restrictions and special semantics always apply to the main function, even on a freestanding implementation not requiring it.

Perhaps we should only require a freestanding implementation not to predefine main, and skip the rest of [basic.start.main] if the implementation doesn't require main.

Suggested resolution:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions