[mlpack-git] [mlpack/mlpack] use constexpr to replace static const (#612)
notifications at github.com
Tue Apr 12 16:03:06 EDT 2016
I prefer constexpr because I hope the variables can be initialize at compile time, as [this post](http://stackoverflow.com/questions/13346879/const-vs-constexpr-on-variables) stated, but I may wrong, the compilar may not do what I think it should.
ps : on vc2015, static const double and constexpr, both of them can evaluate at compile time
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git