C++: Nuh, uh …
template <typename T>
concept Crackable = requires(T obj) {
{ obj.crack() };
};
auto crack(Crackable auto& nut) {
nut.crack();
}
C++: Nuh, uh …
template <typename T>
concept Crackable = requires(T obj) {
{ obj.crack() };
};
auto crack(Crackable auto& nut) {
nut.crack();
}
Well, they say you do have to be over 18 to use Concepts