SeqAn3
3.4.0-rc.4
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Welcome
Setup
Setting up library tests
Quick Setup (using CMake)
Tutorial
First steps with SeqAn
Parsing command line arguments with Sharg
C++ Concepts
Alphabets in SeqAn
Ranges
Minimisers
Sequence File Input and Output
Pairwise Alignment
Indexing and searching with SeqAn
SAM Input and Output in SeqAn
Implementing your own read mapper with SeqAn
How-To
Porting from SeqAn2
How to write an argument parser with subcommands
How to serialise SeqAn data structures
How to write a view
How to write your own alphabet
Cookbook
About
Stability and long-term promises
Citing
Customisation
Changelog
Copyright
Code of Conduct
Contributing
API Reference
API Reference (details)
Namespace List
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
z
Functions
a
b
c
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
k
m
o
p
r
s
t
v
Typedefs
a
b
c
d
e
f
g
i
j
m
p
r
s
t
u
v
z
Enumerations
Enumerator
Concept List
Class List
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
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Related Symbols
:
a
b
c
d
e
g
o
r
s
t
File List
File List
File Members
All
c
i
s
Variables
Macros
c
s
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
transformation_trait_or.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
#include <
type_traits
>
13
14
#include <
seqan3/utility/type_traits/concept.hpp
>
15
16
namespace
seqan3::detail
17
{
18
38
template
<
typename
type_t,
typename
default_t>
39
using
transformation_trait_or
=
std::conditional_t<transformation_trait<type_t>
,
// check if type_t::type exists
40
type_t,
// if yes, return type_t
41
std::type_identity<default_t>
>;
// else return default_t as trait
42
47
template
<
typename
type_t,
typename
default_t>
48
using
transformation_trait_or_t
=
typename
transformation_trait_or<type_t, default_t>::type
;
49
50
}
// namespace seqan3::detail
std::conditional_t
seqan3::detail::transformation_trait_or_t
typename transformation_trait_or< type_t, default_t >::type transformation_trait_or_t
Helper type of seqan3::detail::transformation_trait_or (transformation_trait shortcut).
Definition
transformation_trait_or.hpp:48
seqan3::detail
The internal SeqAn3 namespace.
Definition
aligned_sequence_concept.hpp:26
std::type_identity
type_traits
concept.hpp
Provides the concepts seqan3::transformation_trait and seqan3::unary_type_trait.
Hide me
Version:
main_user
main_dev
3.4.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
seqan3
utility
type_traits
detail
transformation_trait_or.hpp
Generated on Sun Mar 16 2025 12:48:35 for SeqAn3 by
1.9.8