Skip to content

[lib] LWG 3239: inline definition in the header / class synopsis #3110

Closed
@jensmaurer

Description

@jensmaurer

Beyond the accepted =default and =delete, actual code definitions (with braces) have crept up in the header or class synopses with the recent batch of motions. The alternative presentation would be to have an itemdecl / itemdescr with "Effects: Equivalent to" codeblock.

For example, this applies to constructors and inline friends.

We should clarify the style guidelines to say what we want here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lwgIssue must be reviewed by LWG.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions