alpaqa
1.0.0a15
Nonconvex constrained optimization
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
w
Variables
Typedefs
a
c
d
f
i
l
m
p
r
s
t
u
v
Enumerations
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
û
ŷ
α
γ
δ
ε
λ
ρ
σ
τ
φ
ψ
ϵ
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
û
α
ρ
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
ŷ
α
γ
δ
ε
λ
ρ
σ
τ
φ
ψ
ϵ
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
a
f
i
s
u
Related Symbols
Files
File List
File Members
All
a
c
d
e
f
g
l
m
p
r
s
t
u
w
Functions
a
c
d
e
f
g
l
m
p
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Macros
a
c
e
p
u
Examples
Sphinx
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
src
alpaqa
include
alpaqa
util
noop-delete.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
alpaqa::util
{
4
5
/// Deleter for `std::unique_ptr` that just destructs the object, without
6
/// deallocating.
7
template
<
class
T>
8
struct
noop_delete
{
9
constexpr
noop_delete
()
noexcept
=
default
;
10
template
<
class
U>
11
constexpr
noop_delete
(
const
noop_delete
<U> &)
noexcept
{}
12
constexpr
void
operator()
(
T
*t)
const
noexcept
{ t->~T(); }
13
};
8
struct
noop_delete
{
…
};
14
15
}
// namespace alpaqa::util
alpaqa::util
Definition
check-dim.hpp:8
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:85
alpaqa::util::noop_delete
Deleter for std::unique_ptr that just destructs the object, without deallocating.
Definition
noop-delete.hpp:8
alpaqa::util::noop_delete::operator()
constexpr void operator()(T *t) const noexcept
Definition
noop-delete.hpp:12
alpaqa::util::noop_delete::noop_delete
constexpr noop_delete() noexcept=default
Generated on Wed Nov 22 2023 for alpaqa by
1.9.8