|
inline |
Transforms an iterable of types implicitly convertible into Sector into a vector of sectors.
Mainly useful with kronVector(), which creates a std::vector<std::vector<Rep>>
. The inner std::vector<Rep>
is implicitly convertible to Sector, but the wrapping into another std::vector
of course blocks that. Calling transV2S() on the result of kronVector() will give the proper thing.
References std::vector< T >::push_back().