vendredi 1 juillet 2016

Constexpr BigNum

Often I find myself doing some template meta programming and wincing when I take an unsigned long long as a parameter to my template, because some of these templates I realize are going to cut it pretty close.

So I tried to create a contexpr BigNum library. It actually worked...the thing is you cannot pass it into a template as a parameter.

Is there any BigNum library that can allow its BigNums to be template parameters (or a functional equivalent)

Disclaimer:

I realize that there are many BigNum libraries out there. I am looking for one that works with constexpr and templates.

Aucun commentaire:

Enregistrer un commentaire