• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2019 Hans Dembinski
2 //
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
6 
7 #include <boost/histogram/axis/category.hpp>
8 
9 using namespace boost::histogram;
10 
main()11 int main() {
12   // growing category axis cannot have entries in overflow bin
13   (void)axis::category<int, boost::use_default,
14                        decltype(axis::option::growth | axis::option::overflow)>({1, 2});
15 }
16