[libcxx-commits] [libcxx] Fixed shared_ptr comparisons with nullptr_t when spaceship is unavailable. (PR #76781)
    Mark de Wever via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Sun Jan  7 05:31:43 PST 2024
    
    
  
================
@@ -87,5 +87,38 @@ int main(int, char**)
   assert((nullptr <=> p2) == std::strong_ordering::equivalent);
 #endif
 
+#if TEST_STD_VER > 14
----------------
mordante wrote:
nowadays we typically use this style.
```suggestion
#if TEST_STD_VER >= 17
```
Please apply to similar cases.
https://github.com/llvm/llvm-project/pull/76781
    
    
More information about the libcxx-commits
mailing list