Skip to content
Snippets Groups Projects
  • Richard Smith's avatar
    7937c287
    Implement C++ DR1391 (wg21.link/cwg1391) · 7937c287
    Richard Smith authored
    Check for implicit conversion sequences for non-dependent function
    template parameters between deduction and substitution. The idea is to accept
    as many cases as possible, on the basis that substitution failure outside the
    immediate context is much more common during substitution than during implicit
    conversion sequence formation.
    
    This re-commits r290808, reverted in r290811 and r291412, with a couple of
    fixes for handling of explicitly-specified non-trailing template argument
    packs.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291427 91177308-0d34-0410-b5e6-96231b3b80d8
    7937c287
    History
    Implement C++ DR1391 (wg21.link/cwg1391)
    Richard Smith authored
    Check for implicit conversion sequences for non-dependent function
    template parameters between deduction and substitution. The idea is to accept
    as many cases as possible, on the basis that substitution failure outside the
    immediate context is much more common during substitution than during implicit
    conversion sequence formation.
    
    This re-commits r290808, reverted in r290811 and r291412, with a couple of
    fixes for handling of explicitly-specified non-trailing template argument
    packs.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291427 91177308-0d34-0410-b5e6-96231b3b80d8
Code owners
Assign users and groups as approvers for specific file changes. Learn more.