1// LAF OS Library
2// Copyright (c) 2020 Igara Studio S.A.
3//
4// This file is released under the terms of the MIT license.
5// Read LICENSE.txt for more information.
6
7#ifndef OS_REF_H_INCLUDED
8#define OS_REF_H_INCLUDED
9#pragma once
10
11#include "base/ref.h"
12
13namespace os {
14
15 template<typename T>
16 using RefCountT = base::RefCountT<T>;
17 using RefCount = base::RefCount;
18
19 template<typename T>
20 using Ref = base::Ref<T>;
21
22 template<typename T,
23 typename ...Args>
24 Ref<T> make_ref(Args&&...args) {
25 return base::make_ref<T>(std::forward<Args>(args)...);
26 }
27
28} // namespace os
29
30#endif
31