codex
Loading...
Searching...
No Matches
power.hpp File Reference
#include <cassert>
#include <cmath>
#include <concepts>
Include dependency graph for power.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  detail
 

Concepts

concept  arithmetic
 

Functions

template<typename T >
constexpr T detail::power (T b, T e)
 
template<typename T >
requires std::semiregular<T> && std::constructible_from<T, int> && std::three_way_comparable<T> && arithmetic<T>
T power (T b, T e)
 

Function Documentation

◆ power()

template<typename T >
requires std::semiregular<T> && std::constructible_from<T, int> && std::three_way_comparable<T> && arithmetic<T>
T power ( T b,
T e )
Here is the call graph for this function: