Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Comparison_operators (0.34 sec)

  1. doc/go_spec.html

    <a href="#Interface_types">interface type</a> <code>comparable</code>
    denotes the set of all non-interface types that are
    <a href="#Comparison_operators">strictly comparable</a>
    [<a href="#Go_1.18">Go 1.18</a>].
    </p>
    
    <p>
    Even though interfaces that are not type parameters are <a href="#Comparison_operators">comparable</a>,
    they are not strictly comparable and therefore they do not implement <code>comparable</code>.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    The value of an uninitialized map is <code>nil</code>.
    </p>
    
    <pre class="ebnf">
    MapType     = "map" "[" KeyType "]" ElementType .
    KeyType     = Type .
    </pre>
    
    <p>
    The <a href="#Comparison_operators">comparison operators</a>
    <code>==</code> and <code>!=</code> must be fully defined
    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top