MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / build

Method build

src/Factory/Module/Encoder/RS/Encoder_RS.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template<typename B>
47module::Encoder_RS<B>*
48Encoder_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"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected