Created
September 28, 2018 12:20
-
-
Save drodil/bc7d2f1766368fc4d28e609e4e0e3e93 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test_class.hpp | |
#include <iosfwd> | |
class TestClass { | |
public: | |
TestClass() = default; | |
void hello_to_stream(std::stringstream& ss) const noexcept; | |
}; | |
// test_class.cpp | |
#include "test_class.hpp" | |
#include <sstream> | |
void TestClass::hello_to_stream(std::stringstream& ss) const noexcept { | |
ss << "HELLO"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment