
30 May
2010
30 May
'10
1:22 a.m.
I was just looking at your implementation. It looks like it will only swap things with even-numbers of entities. For example, would swap_in_place<int24_t>(an_int24_t) work? sizeof(int24_t) == 3
You are correct that I haven't provided the overloads for the non-power two sizes. This, however, is not a limitation of the design but simply the product of my desire to keep the amount of code to a minimum in the RFC version of the code. It simply a question of providing the template specializations.