forked from boostorg/intrusive
twin: Add constructor from two objects
This commit is contained in:
1 parent
f65f864f0e
commit
5c5f596d12
1 file changed
+4
@@ -35,6 +35,10 @@ struct twin
|
||||
: first(), second()
|
||||
{}
|
||||
|
||||
twin(const type &f, const type &s)
|
||||
: first(f), second(s)
|
||||
{}
|
||||
|
||||
T first;
|
||||
T second;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user