Files
histogram/test/axis_size.cpp
2017-03-17 08:44:48 +01:00

20 lines
517 B
C++

// Copyright 2015-2016 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/histogram/axis.hpp>
#include <iostream>
int main() {
#define SIZEOF(axis) \
std::cout << #axis << " " << sizeof(boost::histogram::axis) << std::endl
SIZEOF(regular_axis<>);
SIZEOF(circular_axis<>);
SIZEOF(variable_axis<>);
SIZEOF(integer_axis);
SIZEOF(category_axis);
}