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

Add logical operations on types

XMLWordPrintable

    • b09

      C++17 adds some types for performing logical operations on other types. These types can simplify some metaprogramming code. It would be useful to have these operations available now, before we are using C++17.

      The new types are

      std::bool_constant<bool v>
      std::conjunction<typename... T>
      std::disjunction<typename... T>
      std::negation<typename T>

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

              Created:
              Updated:
              Resolved: