---
name: "ACE_Cleanup_Strategy"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Cleanup_Strategy"
---

# ACE\_Cleanup\_Strategy(3)

Defines a default strategy to be followed for cleaning up entries from a map which is the container.

## NAME

ACE\_Cleanup\_Strategy -  Defines a default strategy to be followed for cleaning up entries from a map which is the container.

## SYNOPSIS

```
#include <ace/Cleanup_Strategies_T.h>
template<class KEY, class VALUE, class CONTAINER>
class ACE_Cleanup_Strategy
{
  public:
    virtual int cleanup (
        CONTAINER &container,
        KEY *key,
        VALUE *value
        );
};
```

## DESCRIPTION

By default the entry to be cleaned up is removed from the container.

## PUBLIC MEMBERS

```
virtual int cleanup (CONTAINER &container, KEY *key, VALUE *value);
```

The method which will do the cleanup of the entry in the container.

## AUTHOR

Kirthika Parameswaran kirthika@cs.wustl.edu

## LIBRARY

ace
