Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1494204
type_pair.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
772 B
Referenced Files
None
Subscribers
None
type_pair.hpp
View Options
/******************************************************************************
*
* File: type_pair.hpp
*
* Contents: Facilities for types representing pairs of types.
*
* Copyright 2017
*
* Author: David Juhasz (david.juhasz@tuwien.ac.at)
*
* This implementation is based on the type_pair implementation of CAF.
* TODO: Check license.
*
******************************************************************************/
#ifndef ROSA_SUPPORT_TYPE_PAIR_HPP
#define ROSA_SUPPORT_TYPE_PAIR_HPP
namespace
rosa
{
template
<
typename
F
,
typename
S
>
struct
TypePair
{
using
First
=
F
;
using
Second
=
S
;
};
template
<
typename
F
,
typename
S
>
struct
ToTypePair
{
using
Type
=
TypePair
<
F
,
S
>
;
};
}
// End namespace rosa
#endif
// ROSA_SUPPORT_TYPE_PAIR_HPP
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Mar 1, 6:35 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
279347
Default Alt Text
type_pair.hpp (772 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment