File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ namespace modm
3030 * \ingroup modm_container
3131 */
3232 template <typename T, typename Allocator = std::allocator<T>>
33- class DoublyLinkedList
33+ class [[deprecated( " Use std::list instead " )]] DoublyLinkedList
3434 {
3535 public:
3636 using const_iterator = std::list<T>::const_iterator;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ namespace modm
4747 * \ingroup modm_container
4848 */
4949 template <typename T, typename Allocator = std::allocator<T>>
50- class DynamicArray
50+ class [[deprecated( " Use std::vector instead " )]] DynamicArray
5151 {
5252 public:
5353 using SizeType = std::size_t ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ namespace modm
3939 * This would make operations in xpcc very inefficient.
4040 */
4141 template <typename T, typename Allocator = std::allocator<T>>
42- class LinkedList : public DoublyLinkedList <T, Allocator>
42+ class [[deprecated( " Use std::list instead " )]] LinkedList : public DoublyLinkedList<T, Allocator>
4343 {
4444 public:
4545 using DoublyLinkedList<T, Allocator>::DoublyLinkedList;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ namespace modm
6666 * \ingroup modm_container
6767 */
6868 template <typename T1, typename T2>
69- class Pair : public std ::pair<T1, T2>
69+ class [[deprecated( " Use std::pair instead " )]] Pair : public std::pair<T1, T2>
7070 {
7171 public:
7272 using FirstType = T1;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace modm
3636 */
3737 template <typename T,
3838 typename Container>
39- class Queue
39+ class [[deprecated( " Use std::queue instead " )]] Queue
4040 {
4141 public:
4242 typedef typename Container::Size Size;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace modm
3535 */
3636 template <typename T,
3737 typename Container>
38- class Stack
38+ class [[deprecated( " Use std::stack instead " )]] Stack
3939 {
4040 public:
4141 typedef typename Container::Size Size;
You can’t perform that action at this time.
0 commit comments