예제 #1
0
int main()
{
	Timestamp timestamp = Timestamp::now();

	cout << sizeof(A) << endl << sizeof(B) << endl; //1 ,8
	cout << sizeof(C) << endl;//windowsƽ̨Ϊ16

	cout << "sizeof(copyable):"<<sizeof(copyable)<<endl;
	cout << "sizeof(timestamp)"<<sizeof(timestamp) << endl;

	cout << endl << endl;
	cout << "time seocnds:" << timestamp.secondsSinceEpoch() << endl;
	string str = timestamp.toFormattedString();
	cout << str << endl;

}