resolve template specialization with inline keyword
This commit is contained in:
21
tests/includes/tests_mystruct.hpp
Normal file
21
tests/includes/tests_mystruct.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef TESTS_MYSTRUCT_HPP
|
||||
# define TESTS_MYSTRUCT_HPP
|
||||
|
||||
#include <iostream>
|
||||
|
||||
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