diff --git a/asl-uninitialized-move.patch b/asl-uninitialized-move.patch index 2cce2e7..e69de29 100644 --- a/asl-uninitialized-move.patch +++ b/asl-uninitialized-move.patch @@ -1,56 +0,0 @@ -diff --git a/adobe/move.hpp b/adobe/move.hpp -index 350000d..6c302a2 100644 ---- a/adobe/move.hpp -+++ b/adobe/move.hpp -@@ -440,8 +440,8 @@ with move semantics, for movable types, otherwise with copy semantics. - */ - template // O models BidirectionalIterator --inline O move_backward(I& in, O out) --{ return move_backward(boost::begin(in), boost::end(in), out); } -+inline O adobe::move_backward(I& in, O out) -+{ return adobe::move_backward(boost::begin(in), boost::end(in), out); } - - /*************************************************************************************************/ - -diff --git a/adobe/once.hpp b/adobe/once.hpp -index 5f005a4..e349b92 100644 ---- a/adobe/once.hpp -+++ b/adobe/once.hpp -@@ -11,12 +11,12 @@ - - /*************************************************************************************************/ - --#include -- - #if defined(BOOST_HAS_THREADS) - #include - #endif - -+#include -+ - /*************************************************************************************************/ - - namespace adobe { -diff --git a/adobe/vector.hpp b/adobe/vector.hpp -index 2d23e59..8968b59 100644 ---- a/adobe/vector.hpp -+++ b/adobe/vector.hpp -@@ -319,7 +319,7 @@ void vector::append_move(I f, I l, std::forward_iterator_tag) - size_type n(std::distance(f, l)); - - if (remaining() < n) reserve((adobe::max)(size() + n, 2 * size())); -- set_finish(uninitialized_move(f, l, end())); -+ set_finish(adobe::uninitialized_move(f, l, end())); - } - - template -@@ -406,7 +406,7 @@ void vector::reserve(size_type n) - if (capacity() < n) { - vector tmp; - tmp.header_m = allocate(get_allocator(), n); -- tmp.header_m->finish() = uninitialized_move(begin(), end(), tmp.end()); -+ tmp.header_m->finish() = adobe::uninitialized_move(begin(), end(), tmp.end()); - swap(tmp); - } - } diff --git a/tmp/source_release/adobe/move.hpp b/tmp/source_release/adobe/move.hpp index 350000d..5fe6db5 100644 --- a/tmp/source_release/adobe/move.hpp +++ b/tmp/source_release/adobe/move.hpp @@ -441,7 +441,7 @@ with move semantics, for movable types, otherwise with copy semantics. template // O models BidirectionalIterator inline O move_backward(I& in, O out) -{ return move_backward(boost::begin(in), boost::end(in), out); } +{ return adobe::move_backward(boost::begin(in), boost::end(in), out); } /*************************************************************************************************/ diff --git a/tmp/source_release/adobe/once.hpp b/tmp/source_release/adobe/once.hpp index 5f005a4..e349b92 100644 --- a/tmp/source_release/adobe/once.hpp +++ b/tmp/source_release/adobe/once.hpp @@ -11,12 +11,12 @@ /*************************************************************************************************/ -#include - #if defined(BOOST_HAS_THREADS) #include #endif +#include + /*************************************************************************************************/ namespace adobe { diff --git a/tmp/source_release/adobe/vector.hpp b/tmp/source_release/adobe/vector.hpp index 926cfa9..8968b59 100644 --- a/tmp/source_release/adobe/vector.hpp +++ b/tmp/source_release/adobe/vector.hpp @@ -319,7 +319,7 @@ void vector::append_move(I f, I l, std::forward_iterator_tag) size_type n(std::distance(f, l)); if (remaining() < n) reserve((adobe::max)(size() + n, 2 * size())); - set_finish(uninitialized_move(f, l, end())); + set_finish(adobe::uninitialized_move(f, l, end())); } template @@ -354,7 +354,7 @@ typename vector::iterator vector::insert(iterator p, I f, I l, std:: if (n < after) { append_move(last - n, last); - move_backward(p, last - n, last); + adobe::move_backward(p, last - n, last); std::copy(f, l, p); } else { I m = f; @@ -387,7 +387,7 @@ typename vector::iterator vector::insert_move(iterator p, I f, I l) if (n < after) { append_move(last - n, last); - move_backward(p, last - n, last); + adobe::move_backward(p, last - n, last); adobe::move(f, l, p); } else { I m = f; @@ -406,7 +406,7 @@ void vector::reserve(size_type n) if (capacity() < n) { vector tmp; tmp.header_m = allocate(get_allocator(), n); - tmp.header_m->finish() = uninitialized_move(begin(), end(), tmp.end()); + tmp.header_m->finish() = adobe::uninitialized_move(begin(), end(), tmp.end()); swap(tmp); } } @@ -430,7 +430,7 @@ typename vector::iterator vector::insert(iterator p, size_type n, co if (n < after) { append_move(last - n, last); - move_backward(p, last - n, last); + adobe::move_backward(p, last - n, last); std::fill_n(p, n, x); } else { std::uninitialized_fill_n(last, n - after, x);