---
name: "corelinux_Flyweight"
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_Flyweight"
---

# corelinux\_Flyweight(3)

Flyweight type is used to support large numbers of fine-grained objects.

## NAME

corelinux::Flyweight - **Flyweight** type is used to support large numbers of fine-grained objects.

## SYNOPSIS

`#include <Flyweight.hpp>`

Inherited by **WallFlyweight**.

### Public Member Functions

**Flyweight** (void)\
 *Default Constructor.*  **Flyweight** (**FlyweightCref**)\
 *Copy constructor.*  virtual **~Flyweight** (void)\
 *Virtual Destructor.*  **FlyweightRef** **operator=** (**FlyweightCref**)\
 *Assignment operator overload.*  bool **operator==** (**FlyweightCref**) const \
 *Equality operator overload.*

## Detailed Description

**Flyweight** type is used to support large numbers of fine-grained objects.

## Constructor & Destructor Documentation

### corelinux::Flyweight::Flyweight (FlyweightCref)

Copy constructor. **Parameters:**

*Flyweight* const reference

## Member Function Documentation

### FlyweightRef corelinux::Flyweight::operator= (FlyweightCref)

Assignment operator overload. **Parameters:**

*Flyweight* const reference

**Returns:**

**Flyweight** reference to self

### bool corelinux::Flyweight::operator== (FlyweightCref) const

Equality operator overload. **Parameters:**

*Flyweight* const reference

**Returns:**

true if equal, false otherwise

## Author

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