Skip to content

Commit

Permalink
Fix deprecated copy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored and jeking3 committed Nov 29, 2024
1 parent 8fc9c0a commit 0fb1109
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/boost/concept_archetype.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ namespace boost {
};
typedef const T* pointer;
typedef std::ptrdiff_t difference_type;
input_iterator_archetype() { }
input_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -441,6 +443,8 @@ namespace boost {
typedef const T& reference;
typedef const T* pointer;
typedef std::ptrdiff_t difference_type;
input_iterator_archetype_no_proxy() { }
input_iterator_archetype_no_proxy(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand Down Expand Up @@ -493,6 +497,7 @@ namespace boost {
typedef const T* pointer;
typedef std::ptrdiff_t difference_type;
input_output_iterator_archetype() { }
input_output_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -513,6 +518,7 @@ namespace boost {
typedef T const* pointer;
typedef std::ptrdiff_t difference_type;
forward_iterator_archetype() { }
forward_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -533,6 +539,7 @@ namespace boost {
typedef T* pointer;
typedef std::ptrdiff_t difference_type;
mutable_forward_iterator_archetype() { }
mutable_forward_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -553,6 +560,7 @@ namespace boost {
typedef T* pointer;
typedef std::ptrdiff_t difference_type;
bidirectional_iterator_archetype() { }
bidirectional_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -575,6 +583,7 @@ namespace boost {
typedef T* pointer;
typedef std::ptrdiff_t difference_type;
mutable_bidirectional_iterator_archetype() { }
mutable_bidirectional_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand All @@ -597,6 +606,7 @@ namespace boost {
typedef T* pointer;
typedef std::ptrdiff_t difference_type;
random_access_iterator_archetype() { }
random_access_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand Down Expand Up @@ -637,6 +647,7 @@ namespace boost {
typedef T* pointer;
typedef std::ptrdiff_t difference_type;
mutable_random_access_iterator_archetype() { }
mutable_random_access_iterator_archetype(const self&) { }
self& operator=(const self&) { return *this; }
bool operator==(const self&) const { return true; }
bool operator!=(const self&) const { return true; }
Expand Down

0 comments on commit 0fb1109

Please sign in to comment.