Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for disjoint (0.14 sec)

  1. doc/go_spec.html

    non-interface terms must be pairwise disjoint (the pairwise intersection of the type sets must be empty).
    Given a type parameter <code>P</code>:
    </p>
    
    <pre>
    interface {
    	P                // illegal: P is a type parameter
    	int | ~P         // illegal: P is a type parameter
    	~int | MyInt     // illegal: the type sets for ~int and MyInt are not disjoint (~int includes MyInt)
    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