11 lines
232 B
C++
11 lines
232 B
C++
#pragma once
|
|
|
|
// Try References on Addable: its constraint is used in main.cpp.
|
|
template <typename T>
|
|
concept Addable = requires(T value) {
|
|
value + value;
|
|
};
|
|
|
|
// Try Definition or Callers on increment.
|
|
int increment(int value);
|