File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
+ #include < variant>
15
16
#include " sparrow/layout/map_layout/map_value.hpp"
16
17
17
18
#include " sparrow/layout/dispatch.hpp"
@@ -164,10 +165,13 @@ namespace sparrow
164
165
T41 t41;
165
166
T42 t42;
166
167
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) {
168
172
//std::cout << k << std::endl;
169
173
return size_type(0);
170
- }, key);
174
+ }, key);*/
171
175
#else
172
176
return std::visit ([this ](const auto & k) {
173
177
return visit ([&k, this ](const auto & ar) {
You can’t perform that action at this time.
0 commit comments