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.
|
#include <bar.hpp>
|
|
#include <foo.hpp>
|
|
|
|
namespace Foo {
|
|
|
|
void Math::add(int value)
|
|
{
|
|
sum_ += value;
|
|
}
|
|
|
|
int Math::get_sum() const
|
|
{
|
|
return sum_;
|
|
}
|
|
}
|
|
|
|
namespace Bar {
|
|
|
|
void Math::add(int value)
|
|
{
|
|
sum_ += value;
|
|
}
|
|
|
|
int Math::get_sum() const
|
|
{
|
|
return sum_;
|
|
}
|
|
|
|
} // namespace cs
|