mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-10 07:33:53 +00:00
Marked output_proxy constructor explicit.
This commit is contained in:
parent
7b6edb6a7d
commit
dd37a27067
@ -37,7 +37,7 @@ namespace iterators {
|
|||||||
: m_f(f) {}
|
: m_f(f) {}
|
||||||
|
|
||||||
struct output_proxy {
|
struct output_proxy {
|
||||||
output_proxy(UnaryFunction& f) : m_f(f) { }
|
explicit output_proxy(UnaryFunction& f) : m_f(f) { }
|
||||||
|
|
||||||
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
|
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
template <class T> output_proxy& operator=(const T& value) {
|
template <class T> output_proxy& operator=(const T& value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user