| 56 | |
| 57 | template<typename B, typename Q> |
| 58 | module::Decoder_SIHO<B, Q>* |
| 59 | Decoder_NO ::build(module::Encoder<B>* encoder) const |
| 60 | { |
| 61 | try |
| 62 | { |
| 63 | return Decoder::build<B, Q>(encoder); |
| 64 | } |
| 65 | catch (spu::tools::cannot_allocate const&) |
| 66 | { |
| 67 | if (this->type == "NONE" && this->implem == "HARD_DECISION") return new module::Decoder_NO<B, Q>(this->K); |
| 68 | } |
| 69 | |
| 70 | throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__); |
| 71 | } |
| 72 | |
| 73 | // ==================================================================================== explicit template instantiation |
| 74 | #include "Tools/types.h" |
nothing calls this directly
no outgoing calls
no test coverage detected