Skip to content

Instantly share code, notes, and snippets.

@JIghtuse
Created April 24, 2017 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JIghtuse/19adf42dfeef290176068e299c7bebfb to your computer and use it in GitHub Desktop.
Save JIghtuse/19adf42dfeef290176068e299c7bebfb to your computer and use it in GitHub Desktop.
cppcheck crash
#include <boost/hana.hpp>
namespace hana = boost::hana;
template <typename a, std::enable_if_t<hana::Constant<a>::b>> a sqrt() {
hana::integral_c<sqrt(a::b)>;
}
int main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment