Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251274

Provide utilities for function SFINAE using extra template parameters

    XMLWordPrintable

Details

    • b14

    Description

      C++11 allows default values for function template parameters. This provides a new way to control function template overloads via SFINAE. The syntax is somewhat finicky, but can be simplified using alias templates and/or macros. The resulting syntax is nicer than either of the C++98 mechanisms for controlling overloads. We should provide some utilities for that purpose.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: