--- nono/lib/fixedqueue.h 2026/04/29 17:04:54 1.1.1.7 +++ nono/lib/fixedqueue.h 2026/04/29 17:05:26 1.1.1.10 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// 固定長キュー +// + #pragma once #include "header.h" @@ -16,8 +20,8 @@ // // T 型で上限 capacity 個のキュー。 // スレッドセーフではない。 -template -class FixedQueue : private std::vector +template +class FixedQueue final : private std::vector { using inherited = std::vector; public: @@ -28,7 +32,7 @@ class FixedQueue : private std::vector