Loading...
Searching...
No Matches
containers.hpp File Reference

Template containers demonstrating generic programming documentation. More...

#include <array>
#include <cstddef>
#include <stdexcept>
#include <string>
#include <variant>
#include <vector>
Include dependency graph for containers.hpp:

Go to the source code of this file.

Classes

class  containers::BufferOverflow
 Thrown when a fixed-capacity container is full. More...
 
class  containers::BufferUnderflow
 Thrown when popping from an empty container. More...
 
class  containers::ContainerError
 Base exception for container errors. More...
 
class  containers::Result< T, E >
 A sum type representing either a success value or an error. More...
 
class  containers::RingBuffer< T, N >
 A fixed-capacity circular buffer. More...
 
class  containers::Stack< T >
 A simple LIFO stack backed by std::vector. More...
 

Namespaces

namespace  containers
 

Detailed Description

Template containers demonstrating generic programming documentation.

Exercises Doxygen's template parameter docs, exception classes, cross-file references, and non-type template parameters.

Author
Rohit Goswami

Definition in file containers.hpp.