Lines Matching refs:W
130 template <class W>
133 typedef W Weight;
136 if (!(W::Properties() & kIdempotent)) { in NaturalLess()
138 << W::Type(); in NaturalLess()
142 bool operator()(const W &w1, const W &w2) const { in operator()
152 template <class W>
153 W Power(W w, size_t n) { in Power()
154 W result = W::One(); in Power()
172 template <class W>
173 struct WeightConvert<W, W> {
174 W operator()(W w) const { return w; }