ConstrainedContainer Class | Qt 1.0
Description: A container template with a requires clause on the class itself.

# ConstrainedContainer Class

template <typename T> requires detail::is_integral<T>::value class ConstrainedContainer

A container template with a requires clause on the class itself. More...

Header: | `#include <ConstrainedContainer>`

- List of all members, including inherited members

## Public Functions

| ConstrainedContainer(int size)
int | size() const

## Detailed Description

## Member Function Documentation

### `[explicit]` ConstrainedContainer::ConstrainedContainer(int size)

Constructs a container with the given size.

### int ConstrainedContainer::size() const

Returns the size of the container.