20 Aug
2010
20 Aug
'10
3:34 p.m.
AMDG B Hart wrote:
Can someone please provide an example of how to best use unordered_map/set to store/lookup many small arrays of integers. e.g. unsigned int I[5] = {1000,3344455,12455222,8832232}; I'm guessing that there is no facility for using raw C++ arrays, and that one must wrap them in a struct.
If the arrays are fixed size, you can use boost::array. In Christ, Steven Watanabe