acadia/zion/lib/pair.h
Drew Galbraith 81b925eea0 Add a basic IPC setup with Channel Object.
Pass a process a channel endpoint on startup that it will use to
get it's initial capabilities.
2023-06-07 08:24:10 -07:00

13 lines
251 B
C++

#pragma once
template <typename T, typename U>
class Pair {
public:
Pair(const T& first, const U& second) : first_(first), second_(second) {}
T& first() { return first_; }
U& second() { return second_; }
private:
T first_;
U second_;
};