mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-31 13:27:25 +02:00
Marked output_proxy constructor explicit.
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user