File tree 6 files changed +6
-6
lines changed
6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ namespace modm
30
30
* \ingroup modm_container
31
31
*/
32
32
template <typename T, typename Allocator = std::allocator<T>>
33
- class DoublyLinkedList
33
+ class [[deprecated( " Use std::list instead " )]] DoublyLinkedList
34
34
{
35
35
public:
36
36
using const_iterator = std::list<T>::const_iterator;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ namespace modm
47
47
* \ingroup modm_container
48
48
*/
49
49
template <typename T, typename Allocator = std::allocator<T>>
50
- class DynamicArray
50
+ class [[deprecated( " Use std::vector instead " )]] DynamicArray
51
51
{
52
52
public:
53
53
using SizeType = std::size_t ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ namespace modm
39
39
* This would make operations in xpcc very inefficient.
40
40
*/
41
41
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>
43
43
{
44
44
public:
45
45
using DoublyLinkedList<T, Allocator>::DoublyLinkedList;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ namespace modm
66
66
* \ingroup modm_container
67
67
*/
68
68
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>
70
70
{
71
71
public:
72
72
using FirstType = T1;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace modm
36
36
*/
37
37
template <typename T,
38
38
typename Container>
39
- class Queue
39
+ class [[deprecated( " Use std::queue instead " )]] Queue
40
40
{
41
41
public:
42
42
typedef typename Container::Size Size ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace modm
35
35
*/
36
36
template <typename T,
37
37
typename Container>
38
- class Stack
38
+ class [[deprecated( " Use std::stack instead " )]] Stack
39
39
{
40
40
public:
41
41
typedef typename Container::Size Size ;
You can’t perform that action at this time.
0 commit comments