| 58 | |
| 59 | template<typename B> |
| 60 | module::Encoder_polar_PAC<B>* |
| 61 | Encoder_polar_PAC ::build(const std::vector<bool>& frozen_bits) const |
| 62 | { |
| 63 | if (this->type == "POLAR_PAC") |
| 64 | return new module::Encoder_polar_PAC<B>(this->K, this->N_cw, frozen_bits, this->conv); |
| 65 | throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__); |
| 66 | } |
| 67 | |
| 68 | // ==================================================================================== explicit template instantiation |
| 69 | #include "Tools/types.h" |
nothing calls this directly
no outgoing calls
no test coverage detected