Skip to content

Specification Style Guidelines have some outdated rules #8050

Open
@Eisenwave

Description

@Eisenwave

In discussion during code review, some decisions have been pointed out that have not been codified in the guidelines:

  1. The current rule for indentation in itemize doesn't seem accurate. That is:

    \begin{itemize}
    \item
      A B
      C D.
    \end{itemize}

    I have indented the library part of reflections like this, believing that the guidelines are correct, but I can see that Jens doesn't bother indenting after \item.

  2. We have a rule to indent two spaces after a template-head, but this allegedly doesn't apply to struct. Some C++26 wording still follows this outdated rule, like:

    template<auto V>
      struct nontype_t {
        explicit nontype_t() = default;
      };
    template<auto V> constexpr nontype_t<V> nontype{};

    If this is not what we want, it should be clarified.

@burblebee do you have links to the discussions where these decisions have been made?

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