[libcxx-commits] [libcxx] [libc++] Verifies std::forward_like's	mandates clause. (PR #127318)
    Nikolas Klauser via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Sun Feb 23 05:53:41 PST 2025
    
    
  
philnik777 wrote:
> > Can't we test all of this with SFINAE tests instead?
> 
> I don't think we can. With SFINAE we test a constraint clause and this is a mandates clause.
Yeah, I'm actually not convinced this is "nothing to do". We're currently SFINAEing away AFAICT, but the standard asks us to reject the code out right.
https://github.com/llvm/llvm-project/pull/127318
    
    
More information about the libcxx-commits
mailing list