mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +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) {}
|
||||
|
||||
struct output_proxy {
|
||||
output_proxy(UnaryFunction& f) : m_f(f) { }
|
||||
explicit output_proxy(UnaryFunction& f) : m_f(f) { }
|
||||
|
||||
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||
template <class T> output_proxy& operator=(const T& value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user