# implicit operator AllocatorHandle(Allocator)

> Implicitly convert an Allocator to an AllocatorHandle with its Version being reset to 0.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## implicit operator AllocatorHandle(AllocatorHandl)

```csharp
public static implicit operator AllocatorManager.AllocatorHandle(Allocator a)
```

### Parameters

**** (\[Allocator]\(/engine/6000.7/script-reference/unity/collections/allocator)): The Allocator to convert.

### Returns

| Type                                                                                                     | Description                          |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| [AllocatorHandle](/engine/6000.7/script-reference/unity/collections/allocatormanager/allocatorhandle.md) | The AllocatorHandle of an allocator. |
