Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
Related Functions
Files
File List
File Members
All
c
d
g
n
o
r
s
Functions
Macros
c
d
n
r
include
cras_cpp_common
expected.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// SPDX-License-Identifier: BSD-3-Clause
4
// SPDX-FileCopyrightText: Czech Technical University in Prague
5
14
#include <cras_cpp_common/external/tl/expected.hpp>
15
16
namespace
cras
17
{
18
using ::tl::bad_expected_access;
19
using ::tl::expected;
20
using ::tl::in_place;
21
using ::tl::make_unexpected;
22
using ::tl::unexpect;
23
using ::tl::unexpected;
24
}
25
26
#include <type_traits>
27
28
namespace
cras
29
{
34
template
<
typename
T>
35
struct
is_cras_expected
:
public
::std::false_type {};
36
42
template
<
typename
T,
typename
E>
43
struct
is_cras_expected
<::cras::expected<T, E>> :
public
::std::true_type {};
44
}
cras
Definition:
any.hpp:15
cras::is_cras_expected
Type trait determining whether type T is cras::expected or not.
Definition:
expected.hpp:35
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Fri Feb 14 2025 03:48:32