Files
openmethod/doc/modules/ROOT/examples/headers_namespaces/cat.hpp
2025-09-05 15:28:45 -04:00

21 lines
255 B
C++

// felines.hpp
#ifndef FELINES_HPP
#define FELINES_HPP
#include "animal.hpp"
namespace felines {
struct Cat : animals::Animal {
using Animal::Animal;
};
struct Cheetah : Cat {
using Cat::Cat;
};
} // namespace felines
#endif // FELINES_HPP