blob: 253fc0a012530ec8b18140ac0fe9a833aa5bfab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* File: unique_pr.hpp
* Purpose: Unique Pointer helpers.
* Author: Amlal El Mahrouss (amlal@nekernel.org)
* Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License. Licensed under the BSL 1.0 license
*/
#ifndef __OCL_UNIQUE_PTR
#define __OCL_UNIQUE_PTR
#include <ocl/detail/config.hpp>
#include <memory>
namespace ocl
{
template<class T, class Del>
using unique_ptr = std::unique_ptr<T, Del>;
}
#endif // ifndef __OCL_UNIQUE_PTR
|