Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77555536
check_constexpr_map.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 15, 04:00
Size
429 B
Mime Type
text/x-c
Expires
Sat, Aug 17, 04:00 (2 d)
Engine
blob
Format
Raw Data
Handle
19842571
Attached To
rAKA akantu
check_constexpr_map.cc
View Options
#include <iostream>
#include "aka_constexpr_map.hh"
int
main
()
{
akantu
::
details
::
static_switch_dispatch
(
std
::
tuple
<
std
::
integral_constant
<
int
,
1
>
,
std
::
integral_constant
<
int
,
2
>>
{},
[](
auto
&&
type
)
{
std
::
cout
<<
std
::
decay_t
<
decltype
(
type
)
>::
value
<<
std
::
endl
;
},
2
,
[](
auto
&&
/*type*/
)
{
std
::
cout
<<
"Default"
<<
std
::
endl
;
},
std
::
make_index_sequence
<
2
>
{});
}
Event Timeline
Log In to Comment