Core/Algorithm: Add ReverseBits function

Former-commit-id: 10921a52223af92ddaf951f613eb93945133078b
This commit is contained in:
Lynix
2016-05-17 17:08:14 +02:00
parent 8a38bb767d
commit 5be03ab2f2
3 changed files with 54 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ namespace Nz
template<typename T, std::size_t N> constexpr std::size_t CountOf(T(&name)[N]) noexcept;
template<typename T> std::size_t CountOf(const T& c);
template<typename T> void HashCombine(std::size_t& seed, const T& v);
template<typename T> T ReverseBits(T integer);
template<typename T>
struct PointedType