Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Deferrable (0.26 sec)

  1. doc/go_spec.html

    </li>
    </ul>
    
    <p>
    In all other cases, a (possibly partial) type argument list must be present.
    If a type argument list is absent or partial, all missing type arguments
    must be inferrable from the context in which the function is used.
    </p>
    
    <pre>
    // sum returns the sum (concatenation, for strings) of its arguments.
    func sum[T ~int | ~float64 | ~string](x... T) T { … }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top