Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for haveIdenticalUnderlyingType (0.2 sec)

  1. src/reflect/value.go

    		}
    	}
    
    	// dst and src have same underlying type.
    	if haveIdenticalUnderlyingType(dst, src, false) {
    		return cvtDirect
    	}
    
    	// dst and src are non-defined pointer types with same underlying base type.
    	if dst.Kind() == abi.Pointer && nameFor(dst) == "" &&
    		src.Kind() == abi.Pointer && nameFor(src) == "" &&
    		haveIdenticalUnderlyingType(elem(dst), elem(src), false) {
    		return cvtDirect
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top