Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for insert (0.21 sec)

  1. doc/go_spec.html

    From (1) a compiler can infer that the type argument for <code>S</code> is <code>Slice</code>.
    Similarly, because the underlying type of <code>Slice</code> is <code>[]int</code>
    and <code>[]int</code> must match <code>[]E</code> of the constraint,
    a compiler can infer that <code>E</code> must be <code>int</code>.
    Thus, for these two equations, type inference infers
    </p>
    
    <pre>
    	S ➞ Slice
    	E ➞ int
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top