- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Comparison_operators (2.35 sec)
-
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 May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
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 May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0)