2 *****************************************************************************
3 Implementation of templatized utility functions
4 *****************************************************************************
5 * @author This file is part of libff, developed by SCIPR Lab
6 * and contributors (see AUTHORS).
7 * @copyright MIT license (see LICENSE file)
8 *****************************************************************************/
16 template<typename T> size_t size_in_bits(const std::vector<T> &v)
18 return v.size() * T::size_in_bits();