Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for elem (0.15 sec)

  1. doc/go1.22.html

          the type argument T.
          Previously, to get the <code>reflect.Type</code> value for a type, one had to use
          <code>reflect.TypeOf((*T)(nil)).Elem()</code>.
          This may now be written as <code>reflect.TypeFor[T]()</code>.
        </p>
      </dd>
    </dl><!-- reflect -->
    
    <dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
      <dd>
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    an entry for each type parameter.
    </p>
    
    <p>
    For example, given the type equation with the bound type parameter
    <code>P</code>
    </p>
    
    <pre>
    	[10]struct{ elem P, list []P } ≡<sub>A</sub> [10]struct{ elem string; list []string }
    </pre>
    
    <p>
    type inference starts with an empty map.
    Unification first compares the top-level structure of the LHS and RHS
    types.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top