JC
Size: a a a
JC
JC
AW
К
К
std::vector<int> crossover1(const std::vector<int>& first, const std::vector<int>& second)
AW
AW
JC
JC
AW
AP
struct foo {
int operator(){
if (i % 2 == 0)
std::cout << "lol" << std::endl;
else
std::cout << "kek" << std::endl;
return 0;
}
foo& operator++() { ++i; return *this; }
private:
int i{0};
}
template<class T>
void call(T func)
{
func();
func++;
func();
}
void main() {
foo blet;
call(blet);
}
AP
AP
A
AW
AW
К
AP
AW