Files
42_INT_11_ft_containers/tests/includes/tests_structs.hpp
2022-06-29 14:10:17 +02:00

25 lines
447 B
C++

#ifndef TESTS_STRUCTS_HPP
# define TESTS_STRUCTS_HPP
// abstract class test -----------------------
struct A_test
{
virtual ~A_test(){};
std::string title;
std::string type;
virtual void func() = 0;
};
// mystruct ----------------------------------
struct mystruct {
public:
mystruct(int data = 0);
~mystruct();
int * get_data() const;
private:
int * _val;
};
std::ostream & operator<<(std::ostream & o, mystruct const * rhs);
#endif