|
Boost : |
Subject: [boost] Boost Range Joined Range
From: Ali Nakipoglu (nakipogluali_at_[hidden])
Date: 2012-10-01 06:38:53
How can i create copy a joined_range type and it contents? Any alternatives
to make this?
For example
typedef std::vector<int> VectorT;
typedef joined_range< VectorT, VectorT> JoinedRangeT;
VectorT vector0, vector1;
JoinedRangeT joinedRange0( vector0, vector1 )
// I need this
JoinedRangeT joinedRange1 = copyAnyRangeOrContainer( joinedRange0 );
Im planning to use your advices to design copyAnyRangeOrContainer function,
so that it can create deep copies from given range or containers that are
can be vector,map, joined_range<T1,T2> or even
joined_range<joined_range<T1,T2>, joined_range<T1, T2> >
Thank you!
-- Ali Nakipoglu
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk