Skip to content
UPEEC

Class Templates

Classes parameterised by types or values — `std::vector<T>`, `std::array<T, N>`.

Intermediate
Comments 0

template <typename T, std::size_t N> class RingBuffer { std::array<T, N> buf; };

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.