diff --git a/include/boost/intrusive/detail/twin.hpp b/include/boost/intrusive/detail/twin.hpp index e375201..b778732 100644 --- a/include/boost/intrusive/detail/twin.hpp +++ b/include/boost/intrusive/detail/twin.hpp @@ -35,6 +35,10 @@ struct twin : first(), second() {} + twin(const type &f, const type &s) + : first(f), second(s) + {} + T first; T second; };