resolve template specialization with inline keyword

This commit is contained in:
hugogogo
2022-06-18 17:58:14 +02:00
parent 72762a79cb
commit 94745ca8a9
11 changed files with 222 additions and 327 deletions

View 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