From fa3d8f677b6a30c2115e7d167d4938e293dfad81 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Aug 2018 16:27:07 +0200 Subject: Add StaticBitVec type --- chilbert/Hilbert.ipp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chilbert/Hilbert.ipp') diff --git a/chilbert/Hilbert.ipp b/chilbert/Hilbert.ipp index 9d23271..726b204 100644 --- a/chilbert/Hilbert.ipp +++ b/chilbert/Hilbert.ipp @@ -27,6 +27,7 @@ #include "chilbert/Hilbert.hpp" #include "chilbert/SetBits.hpp" #include "chilbert/SetLocation.hpp" +#include "chilbert/StaticBitVec.hpp" #include @@ -72,6 +73,13 @@ num_bits(const T& vec, return vec.size(); } +template +size_t +num_bits(const StaticBitVec&, void* = nullptr) +{ + return N; +} + // 'Transforms' a point. template inline void -- cgit v1.2.1