abir basak wrote:
Can you give me a pointer about how to implement a composite_view ? It should have the functionality like, 1) iterates over a single container (single container view rather than multi container view) 2) it is a view composed of 2 or more different kind of views,for e.g , I want a view of (2-120 , a range_view) and (133, 145, 148 , an index_view/ permutation_view ), and one will be able to iterate over theme seamlessly without having trouble to go through the underlying container. I have all of the different views already written, but unable to club them together to make a composite_view (I am thinking whether boost::any or tuple can make this happen)
FWIW, see "jointed" of my library: http://tinyurl.com/2fkxup Fortunately it was released yesterday. Regards, -- Shunsuke Sogame