Page MenuHomePhorge

type_pair.hpp
No OneTemporary

Size
772 B
Referenced Files
None
Subscribers
None

type_pair.hpp

/******************************************************************************
*
* 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

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)

Event Timeline