What do you need to write instead of dots in the following code, that it will be able to be compiled?
#include <iostream>
using namespace std;

template<...>             // insert code here
void OtherFunc() { T(); }

void printIt() { cout << "Func"; }

int main() {
    OtherFunc<printIt> ();
    return 0; 
}

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты