forked from boostorg/intrusive
twin: Add constructor from two objects
This commit is contained in:
@@ -35,6 +35,10 @@ struct twin
|
|||||||
: first(), second()
|
: first(), second()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
twin(const type &f, const type &s)
|
||||||
|
: first(f), second(s)
|
||||||
|
{}
|
||||||
|
|
||||||
T first;
|
T first;
|
||||||
T second;
|
T second;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user