Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Check removal of rule from [dcl.constexpr]p8 is intentional #370

Copy link
Copy link
Closed
@zygoloid

Description

@zygoloid
Issue body actions

DIS 14882:2014 NB comment JP 06:

By N3652, the statement "The class of which .... a literal type (3.9)" remains, but it is removed in DIS. Please check whether the removal is intended or not.

Proposed change:

If it is intended, we think that the following part of the example should be removed because it is not related to this clause in DIS.

class debug_flag {
public:
  explicit debug_flag(bool);
  constexpr bool is_on() const;                // error: debug_flag not
                                       // literal type
private:
  bool flag;
};

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.