P
Philipp Kraus
Hello,
I habe a std::map and I would like to read k random key values. I have
tried it with the iterator like:
randvalue between [0, std::mapsize-1]
(*(std::map::iterator.begin() + randvalue)).first
But this does not work, I'll get an error on stl_bvector.h with
std::_Bit_iterator std:perator+. How can I get k random key values
out of my map?
Thanks
Phil?
I habe a std::map and I would like to read k random key values. I have
tried it with the iterator like:
randvalue between [0, std::mapsize-1]
(*(std::map::iterator.begin() + randvalue)).first
But this does not work, I'll get an error on stl_bvector.h with
std::_Bit_iterator std:perator+. How can I get k random key values
out of my map?
Thanks
Phil?