Skip to content

[SUGGESTION] Requires clause for aliases #407

Description

@JohelEGP

A natural extension to 63efa6e.

Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code? No.

Will your feature suggestion automate or eliminate X% of current C++ guidance literature?

(Make it possible to) make the default:

No longer teach:

Describe alternatives you've considered.
https://cpp2.godbolt.org/z/Mr9TMo7xG:

i: <T> type
  // requires std::integral<T>
  == std::enable_if<
        std::integral<T>,
        std::make_signed<T>
      >::type::type;

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions