makefile really improved on header dependencies
This commit is contained in:
24
tests/includes/tests_structs.hpp
Normal file
24
tests/includes/tests_structs.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user