17 #ifndef AWALI_WEIGHTSET_WEIGHTSET_HH
18 # define AWALI_WEIGHTSET_WEIGHTSET_HH
33 namespace awali {
namespace sttc {
36 template <
typename WeightSet>
40 using typename super::value_t;
48 template <
typename... Ts>
49 value_t
mul(
const Ts&... ts)
const
51 value_t res = this->one();
53 using swallow =
int[];
56 ((res = super::mul(res, ts)), 0)...
Main namespace of Awali.
Definition: ato.hh:22
Provide a variadic mul on top of a binary mul(), and one().
Definition: weightset.hh:38
value_t mul(const Ts &... ts) const
Definition: weightset.hh:49
WeightSet super
Definition: weightset.hh:39