forked from boostorg/intrusive
twin: Add constructor from two objects
This commit is contained in:
@ -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