Added more general power functionality as requested by Sean Parent. Also added enable_if to make sure the exponent is an integral type.

This commit is contained in:
Marshall Clow committed 2014-12-03 15:15:15 -08:00
1 parent 85adf4c74e
commit d4734356e9
4 files changed
+91 -31

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ alias unit_test_framework
# Misc tests
[ run clamp_test.cpp unit_test_framework : : : : clamp_test ]
[ run power_test.cpp unit_test_framework : : : : power_test ]
[ compile-fail power_fail1.cpp : : : : ]
# Cxx11 tests
[ run all_of_test.cpp unit_test_framework : : : : all_of_test ]