Can we apply boost::fusion::transform on a random access sequence generated by adapting a class?
I have a class holding vector of another class types. I adapted the former class into a sequence using BOOST_FUSION_ADAPT_ADT macro which generates a random sequence. But in the boost documentation for transform, i saw that the sequence should be a forward sequence.
Random access sequences are forward sequences. Just like random access iterators in the C++ standard library are also forward iterators.
The similar terminology is not an accident.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.