OpenHashMap.isScopedKeyType

Is true if an instance of SomeKey that can be implictly cast to K.

For instance const(char)[] can be @trustedly cast to string in a temporary scope.

struct OpenHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
template isScopedKeyType (
SomeKey
) {
enum isScopedKeyType;
enum isScopedKeyType;
}

Meta