Skip to content

Instantly share code, notes, and snippets.

@ryardley
Created January 1, 2019 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryardley/09790577ceb8f5236d8e9a27c2f62769 to your computer and use it in GitHub Desktop.
Save ryardley/09790577ceb8f5236d8e9a27c2f62769 to your computer and use it in GitHub Desktop.
#include "hello_world_impl.hpp"
#include <string>
namespace helloworld {
std::shared_ptr<HelloWorld> HelloWorld::create() {
return std::make_shared<HelloWorldImpl>();
}
HelloWorldImpl::HelloWorldImpl() {
}
std::string HelloWorldImpl::get_hello_world() {
std::string myString = "C++ says Hello World!";
return myString;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment