JDK-8250652 : Add logical operations on types
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-28
  • Updated: 2020-08-12
  • Resolved: 2020-08-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b09Fixed
Related Reports
Relates :  
Description
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>

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/f034acd4ac69 User: kbarrett Date: 2020-08-04 10:23:08 +0000
04-08-2020