- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# FMath/FMArray.h File Reference

The file contains the vector class, which improves on the standard C++ vector class. More...

`#include "FMath/FMAllocator.h"`
`#include "FMath/FMSort.h"`

Go to the source code of this file.

## Namespaces
namespace | fm
## Classes
class | fm::vector< T, PRIMITIVE >
| A dynamically-sized array. More...
## Functions
template<class T, bool PRIMITIVE>
bool | IsEquivalent (const fm::vector< T, PRIMITIVE > &dl, const T *cl, size_t count)
| Returns whether a dynamically-sized array is equivalent to a constant-sized array.
template<class T>
bool | IsEquivalent (const T *al, size_t acount, const T *bl, size_t bcount)
| Returns whether two constant-sized arrays are equivalent.

## Detailed Description

The file contains the vector class, which improves on the standard C++ vector class.

## Function Documentation

template<class T>
bool IsEquivalent | ( | const T * | al,
|  | size_t | acount,
|  | const T * | bl,
|  | size_t | bcount
| ) | `[inline]`

  | Returns whether two constant-sized arrays are equivalent. Parameters:
  | al | A first constant-sized array.
  | acount | The number of elements in the first array.
  | bl | A second constant-sized array.
  | bcount | The number of elements in the second array.
Returns: Whether the two arrays are equivalent.

template<class T, bool PRIMITIVE>
bool IsEquivalent | ( | const fm::vector< T, PRIMITIVE > & | dl,
|  | const T * | cl,
|  | size_t | count
| ) | `[inline]`

  | Returns whether a dynamically-sized array is equivalent to a constant-sized array. Parameters:
  | dl | A dynamically-sized array.
  | cl | A constant-sized array.
  | count | The size of the constant-sized array.
Returns: Whether the two arrays are equivalent.