---
name: "corelinux_Strategy"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/corelinux_Strategy"
---

# corelinux\_Strategy(3)

Strategy is a base class for describing families of alogrithms.

## NAME

corelinux::Strategy - **Strategy** is a base class for describing families of alogrithms.

## SYNOPSIS

`#include <Strategy.hpp>`

Inherited by **corelinux::Allocator**.

### Public Member Functions

**Strategy** (void)\
 *Default Constructor.*  **Strategy** (**StrategyCref**)\
 *Copy Constructor.*  virtual **~Strategy** (void)\
 *Virtual Destructor.*  **StrategyRef** **operator=** (**StrategyCref**)\
 *Assignment operator overload.*  bool **operator==** (**StrategyCref**) const \
 *Equality operator overload.*  bool **operator!=** (**StrategyCref**) const \
 *Non-equality operator overload.*

## Detailed Description

**Strategy** is a base class for describing families of alogrithms.

**Strategy** lets the alogrithm vary independently from clients that use them.

## Constructor & Destructor Documentation

### corelinux::Strategy::Strategy (StrategyCref)

Copy Constructor. **Parameters:**

*Strategy* const reference

## Member Function Documentation

### bool corelinux::Strategy::operator!= (StrategyCref) const

Non-equality operator overload. **Parameters:**

*Strategy* const reference

**Returns:**

false if equal, true otherwise

### StrategyRef corelinux::Strategy::operator= (StrategyCref)

Assignment operator overload. **Parameters:**

*Strategy* const reference

**Returns:**

**Strategy** reference to self

### bool corelinux::Strategy::operator== (StrategyCref) const

Equality operator overload. **Parameters:**

*Strategy* const reference

**Returns:**

true if equal, false otherwise

## Author

Generated automatically by Doxygen for CoreLinux++ from the source code.
