![]() |
ApprentissageProgrammationCpp
..
|
#include <concepts>
#include <vector>
#include <iostream>
Fonctions | |
template<int N = 1> | |
auto | increment (auto x) |
[include] Plus de détails... | |
template<int N = 1> | |
auto | incrementConstrained (std::integral auto x) |
[increment_base] Plus de détails... | |
template<typename T , int N = 1> | |
requires std::integral< T > auto | incrementConstrainedTemplate (T x) |
[increment_concept] Plus de détails... | |
template<typename T , int N = 1> | |
requires std::convertible_to< T, int > auto | incrementConstrainedTemplate (T x) |
[increment_concept_template] Plus de détails... | |
void | print (IsIterable auto container) |
[concept_is_iterable] Plus de détails... | |
int | main () |
[print_with_concept] Plus de détails... | |
Variables | |
template<typename T > | |
concept | IsIterable |
[increment_concept_convertible] Plus de détails... | |
auto increment | ( | auto | x | ) |
[include]
[include] [increment_base]
auto incrementConstrained | ( | std::integral auto | x | ) |
[increment_base]
[increment_concept]
requires std::integral<T> auto incrementConstrainedTemplate | ( | T | x | ) |
[increment_concept]
[increment_concept_template]
requires std::convertible_to<T, int> auto incrementConstrainedTemplate | ( | T | x | ) |
[increment_concept_template]
[increment_concept_convertible]
int main | ( | ) |
[print_with_concept]
void print | ( | IsIterable auto | container | ) |
[concept_is_iterable]
[print_with_concept]
concept IsIterable |
[increment_concept_convertible]
[concept_is_iterable]