A container template with a requires clause on the class itself. More...
| Header: | #include <concepts.h> |
| ConstrainedContainer(int size) | |
| int | size() const |
T must be an integral type.
[explicit] ConstrainedContainer::ConstrainedContainer(int size)Constructs a container with the given size.
Returns the size of the container.