mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-17 01:42:09 +00:00
[test][util][ipower] make ::ipower function inline
This commit is contained in:
@@ -32,7 +32,7 @@ namespace bg = boost::geometry;
|
||||
|
||||
// this is the function implemented with MPL (in non-recursive form)
|
||||
template <typename T>
|
||||
T ipower(const T& x, std::size_t n)
|
||||
inline T ipower(const T& x, std::size_t n)
|
||||
{
|
||||
T z(1);
|
||||
if ( n == 0 ) { return z; }
|
||||
|
||||
Reference in New Issue
Block a user