Re: [PATCH 2/4] kernel-shark-qt: Add KernalShark Utils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On  9.10.2018 19:34, Steven Rostedt wrote:
Is this private to libkshark and not going to be exported?

In other words, do we need to worry about namespace?

The namespace here is used mostly for making the code easy to read.
C++ people do this because it makes the code look more OO-ish.

Note that

namespace Foo
{
	bool bar1(int x);

	void bar2();
};

is equivalent to

class Foo {
	static bool bar1(int x);

	static void bar2();
};

Thanks!
Yordan



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux