Skip to content

Commit 58148bb

Browse files
committed
Still debugging
1 parent a440ae7 commit 58148bb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/layout/map_layout/map_value.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#include <variant>
1516
#include "sparrow/layout/map_layout/map_value.hpp"
1617

1718
#include "sparrow/layout/dispatch.hpp"
@@ -164,10 +165,13 @@ namespace sparrow
164165
T41 t41;
165166
T42 t42;
166167
T43 t43;
167-
return std::visit([this](const auto& k) {
168+
using value_type_size = std::variant_size<array_traits::value_type>;
169+
static_assert(value_type_size::value == 42);
170+
171+
/*return std::visit([this](const auto& k) {
168172
//std::cout << k << std::endl;
169173
return size_type(0);
170-
}, key);
174+
}, key);*/
171175
#else
172176
return std::visit([this](const auto& k) {
173177
return visit([&k, this](const auto& ar) {

0 commit comments

Comments
 (0)