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; 

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes