[mlpack-git] [mlpack/mlpack] use constexpr to replace static const (#612)

Marcus Edel notifications at github.com
Tue Apr 12 12:43:37 EDT 2016


I'm not sure I get the intention to prefer constexpr in this case. There is no expression that can be evaluated during compilation using one of the parameter. Also, removing static isn't a good idea, since once the program is compiled, constexpr is no longer relevant and I would prefer to initialize the variable once.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/612#issuecomment-209001129
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160412/016afe05/attachment.html>


More information about the mlpack-git mailing list