(adsbygoogle = window.adsbygoogle || []).push({}); Thanks. I expected the loop to copy null character or something but it copies the char from the beginning again. Copy constructor itself is a function. The sizeof (char) is redundant, but I use it for consistency. vs2012// priority_queue.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include
//#include