Samchon Framework for CPP  1.0.0
SharedEntityDeque.hpp
1 #pragma once
2 #include <samchon/protocol/EntityGroup.hpp>
3 #include <deque>
4 
5 namespace samchon
6 {
7 namespace protocol
8 {
9  template <typename T, typename Key = std::string>
10  using SharedEntityDeque = EntityGroup<std::deque<std::shared_ptr<T>>, T, Key>;
11 };
12 };
13 
14 /* ------------------------------------------------------------------------------
15  MACROS
16 ------------------------------------------------------------------------------ */
17 // INLINE
18 #define SHARED_ENTITY_DEQUE_ELEMENT_ACCESSOR_INLINE(CHILD_TYPE) SHARED_ENTITY_ARRAY_ELEMENT_ACCESSOR_INLINE(CHILD_TYPE)
19 #define SHARED_ENTITY_DEQUE_ELEMENT_ACCESSOR_HEADER(CHILD_TYPE) SHARED_ENTITY_ARRAY_ELEMENT_ACCESSOR_HEADER(CHILD_TYPE)
20 #define SHARED_ENTITY_DEQUE_ELEMENT_ACCESSOR_BODY(THIS_TYPE, CHILD_TYPE) SHARED_ENTITY_ARRAY_ELEMENT_ACCESSOR_BODY(THIS_TYPE, CHILD_TYPE)