Skip to content
Snippets Groups Projects
tobool.hh 192 B
Newer Older
#ifndef SRC_TOBOOL_HH
#define SRC_TOBOOL_HH
Elias Pipping's avatar
Elias Pipping committed
#include <dune/common/bitsetvector.hh>

template <class Alloc>
bool toBool(Dune::BitSetVectorConstReference<1, Alloc> x) {
  return x[0];
}
#endif