Using FixedCapacityContainer for rxDbitList (#22)

* fixed capacity container

* changed shm date
This commit is contained in:
Erik Fröjdh
2019-05-15 09:16:18 +02:00
committed by Dhanya Thattil
parent bf0847e967
commit 877bdb8979
6 changed files with 60 additions and 107 deletions

View File

@ -20,6 +20,8 @@ template <typename T, size_t Capacity> class FixedCapacityContainer {
bool operator==(const std::vector<T> &other) const noexcept;
bool operator!=(const std::vector<T> &other) const noexcept;
operator std::vector<T>(){return std::vector<T>(begin(), end());}
template <size_t OtherCapacity>
bool operator==(const FixedCapacityContainer<T, OtherCapacity> &other) const
noexcept;