Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for composites (0.04 sec)

  1. doc/go_spec.html

    <pre>
    tmp := [n]T{x1, x2, … xn}
    tmp[0 : n]
    </pre>
    
    <p>
    Within a composite literal of array, slice, or map type <code>T</code>,
    elements or map keys that are themselves composite literals may elide the respective
    literal type if it is identical to the element or key type of <code>T</code>.
    Similarly, elements or keys that are addresses of composite literals may elide
    the <code>&amp;T</code> when the element or key type is <code>*T</code>.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top