# null

# clear

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Method Syntax (Dynamic)

* `void map[char[]]::clear();`
* `void map[float]::clear();`
* `void map[int64]::clear();`
* `void map[long]::clear();`

## Description

Removes all elements from the field.

## Complexity

O(log(N) + N)

## Parameters

—

## Return Values

—

## Example

```cpp
m.clear();
```
