0924デフォルトの名無しさん (ワントンキン MMea-zCRe)垢版 | 大砲2017/10/07(土) 16:14:50.00ID:Mcd7mBScM std::vector<any_struct_t> ret(index_list); std::transform(index_list.cbegin(), index_list.cend(), ret.begin(), [&array](auto i){ return array[i]; });