| 45 | |
| 46 | template<typename B> |
| 47 | module::Encoder_RS<B>* |
| 48 | Encoder_RS ::build(const tools::RS_polynomial_generator& GF) const |
| 49 | { |
| 50 | if (this->type == "RS") return new module::Encoder_RS<B>(this->K, this->N_cw, GF); |
| 51 | |
| 52 | throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__); |
| 53 | } |
| 54 | |
| 55 | // ==================================================================================== explicit template instantiation |
| 56 | #include "Tools/types.h" |
nothing calls this directly
no outgoing calls
no test coverage detected