Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90670162
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
Sun, Nov 3, 18:09
Size
429 B
Mime Type
text/x-c
Expires
Tue, Nov 5, 18:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22095717
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