Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34123657
memory-helpers.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
345 B
Subscribers
None
memory-helpers.h
View Options
/*
This file is part of Kleopatra, the KDE keymanager
SPDX-FileCopyrightText: 2022 g10 Code GmbH
SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
<memory>
template
<
class
T
>
std
::
unique_ptr
<
T
>
wrap_unique
(
T
*
p
)
{
return
std
::
unique_ptr
<
T
>
{
p
};
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Dec 6, 11:23 PM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1f/c8/fd8133ef74b47c6d7249968db0cb
Attached To
rKLEOPATRA Kleopatra
Event Timeline
Log In to Comment