diff --git a/include/Ref.h b/include/Ref.h new file mode 100644 index 0000000..b45d2a6 --- /dev/null +++ b/include/Ref.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +namespace arch { + +template +using Ref = std::shared_ptr; + +template +constexpr Ref createRef(Args&&... args) { + return std::make_shared(std::forward(args)...); +} + +} // namespace arch \ No newline at end of file