#ifndef GENERS_VPACKIOCYCLER_HH_ #define GENERS_VPACKIOCYCLER_HH_ #include "geners/GenericIO.hh" namespace gs { namespace Private { template struct VPackIOCycler { template inline static bool read(Pack* s, Stream& is) { return VPackIOCycler::read(s, is) && process_item( std::get(*(static_cast(s))), is, &s->iostack_[N-1], false); } }; template struct VPackIOCycler { template inline static bool read(Pack*, Stream&) {return true;} }; } } #endif // GENERS_VPACKIOCYCLER_HH_