C/C++ API Reference
Loading...
Searching...
No Matches
pw::containers::StorageBase< kAlignment, kSizeBytes > Class Template Reference

Overview

template<size_t kAlignment, size_t kSizeBytes>
class pw::containers::StorageBase< kAlignment, kSizeBytes >

StorageBase is intended to serve as a base class when combining a non-owning container with its storage using inheritance. The storage must be in a base class before the container base so that the storage outlives the container using it.

Inheritance diagram for pw::containers::StorageBase< kAlignment, kSizeBytes >:
pw::FixedDeque< T, kInlineCapacity, S > pw::FixedQueue< T, kInlineCapacity, SizeType > pw::async2::ChannelStorage< T, kCapacity >

Protected Member Functions

Storage< kAlignment, kSizeBytes > & storage ()
 
const Storage< kAlignment, kSizeBytes > & storage () const
 

The documentation for this class was generated from the following file: