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

Method build

src/Factory/Module/Encoder/Repetition/Encoder_repetition.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59template<typename B>
60module::Encoder_repetition_sys<B>*
61Encoder_repetition ::build() const
62{
63 if (this->type == "REP") return new module::Encoder_repetition_sys<B>(this->K, this->N_cw, this->buffered);
64
65 throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__);
66}
67
68// ==================================================================================== explicit template instantiation
69#include "Tools/types.h"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected