You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
188 B

#pragma once
namespace ns {
class my_class_in_namespace
{
public:
my_class_in_namespace()
: Sum(0)
{
}
void add(int value);
int get_sum() const;
private:
int Sum;
};
}