CPP reduce << operator chain in std::cout : Is there any way to reduce the chain of << operator from  the statements like following ?

    std::cout << var1 <<  "!=" << var2;

<pre>printf()</pre> may be an option but anything else ?

Because as the number of the operator << increases so the running time too;

Is it possible to efficiently reduce the << chain ?