mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-19 04:22:12 +00:00
21 lines
255 B
C++
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
|