constexpr'ise the primitive template and document parts of it