22 lines
547 B
C++
22 lines
547 B
C++
#ifndef WRAP_UTILITY_HPP
|
|
#define WRAP_UTILITY_HPP
|
|
|
|
#include "two-mallocs.hpp"
|
|
#include <utility>
|
|
|
|
namespace eng {
|
|
template<class A, class B>
|
|
using pair = std::pair<A, B>;
|
|
template< class T1, class T2 >
|
|
constexpr std::pair<T1,T2> make_pair( T1&& t, T2&& u ) { return std::make_pair(t,u); }
|
|
} // namespace eng
|
|
|
|
namespace drv {
|
|
template<class A, class B>
|
|
using pair = std::pair<A, B>;
|
|
template< class T1, class T2 >
|
|
constexpr std::pair<T1,T2> make_pair( T1&& t, T2&& u ) { return std::make_pair(t,u); }
|
|
} // namespace drv
|
|
|
|
#endif // WRAP_UTILITY_HPP
|