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
2014-12-03 15:15:15 -08:00
parent 85adf4c74e
commit d4734356e9
4 changed files with 91 additions and 31 deletions

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 ]