queue.hpp(3) Library Functions Manual queue.hpp(3)

# [NAME](#NAME)

queue.hpp - Support for types found in &lt;queue&gt;.

# [SYNOPSIS](#SYNOPSIS)

#include 'cereal/details/helpers.hpp'  
#include &lt;queue&gt;  
#include 'cereal/types/deque.hpp'  
#include 'cereal/types/functional.hpp'

## [Functions](#Functions)

template&lt;class T, class C&gt; C const & **cereal::queue\_detail::container** (std::queue&lt; T, C &gt; const &queue)  
Allows access to the protected container in queue. template&lt;class T, class C, class Comp&gt; C const & **cereal::queue\_detail::container** (std::priority\_queue&lt; T, C, Comp &gt; const &priority\_queue)  
Allows access to the protected container in priority queue. template&lt;class T, class C, class Comp&gt; Comp const & **cereal::queue\_detail::comparator** (std::priority\_queue&lt; T, C, Comp &gt; const &priority\_queue)  
Allows access to the protected comparator in priority queue. template&lt;class Archive, class T, class C&gt; void **cereal::CEREAL\_SAVE\_FUNCTION\_NAME** (Archive &ar, std::queue&lt; T, C &gt; const &queue)  
Saving for std::queue. template&lt;class Archive, class T, class C&gt; void **cereal::CEREAL\_LOAD\_FUNCTION\_NAME** (Archive &ar, std::queue&lt; T, C &gt; &queue)  
Loading for std::queue. template&lt;class Archive, class T, class C, class Comp&gt; void **cereal::CEREAL\_SAVE\_FUNCTION\_NAME** (Archive &ar, std::priority\_queue&lt; T, C, Comp &gt; const &priority\_queue)  
Saving for std::priority\_queue. template&lt;class Archive, class T, class C, class Comp&gt; void **cereal::CEREAL\_LOAD\_FUNCTION\_NAME** (Archive &ar, std::priority\_queue&lt; T, C, Comp &gt; &priority\_queue)  
Loading for std::priority\_queue.

# [Detailed Description](#Detailed_Description)

Support for types found in &lt;queue&gt;.

# [Author](#Author)

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

---

Document: queue.hpp(3) from cereal 1.3.2-r6 (Chainguard OS)
Source: https://github.com/USCiLab/cereal
