ProjGeom 1.0.11
Loading...
Searching...
No Matches
Namespaces | Concepts | Typedefs
common_concepts.h File Reference

Common C++20 concepts: Ring, OrderedRing, Integral, Sequence. More...

#include <cmath>
#include <concepts>
#include <numeric>
#include <type_traits>
#include <utility>
Include dependency graph for common_concepts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fun
 

Concepts

concept  fun::Sequence
 Sequence.
 
concept  fun::Ring
 Ring concept.
 
concept  fun::OrderedRing
 Ordered ring concept.
 
concept  fun::Integral
 Integral concept.
 

Typedefs

template<typename T >
using fun::Value_type = typename T::value_type
 Value type of a type.
 
template<typename T >
using fun::Element_type = typename std::decay< decltype(back(std::declval< T >()))>::type
 Element type of a sequence.
 

Detailed Description

Common C++20 concepts: Ring, OrderedRing, Integral, Sequence.