Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _a (0.22 sec)

  1. doc/go1.17_spec.html

    by a value of <code>T</code>.
    As a special case, an integer constant <code>x</code> can be explicitly converted to a
    <a href="#String_types">string type</a> using the
    <a href="#Conversions_to_and_from_a_string_type">same rule</a>
    as for non-constant <code>x</code>.
    </p>
    
    <p>
    Converting a constant yields a typed constant as result.
    </p>
    
    <pre>
    uint(iota)               // iota value of type uint
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    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>.
    However, they <a href="#Satisfying_a_type_constraint">satisfy</a> <code>comparable</code>.
    </p>
    
    <pre>
    int                          // implements comparable (int is strictly comparable)
    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