subrepo: subdir: "xo-indentlog" merged: "0834c6ad" upstream: origin: "git@github.com:Rconybea/xo-indentlog.git" branch: "main" commit: "0834c6ad" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
24 lines
418 B
C++
24 lines
418 B
C++
/* @file pair.hpp */
|
|
|
|
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <utility>
|
|
|
|
namespace std {
|
|
template <typename T, typename U>
|
|
inline std::ostream &
|
|
operator<<(std::ostream & os,
|
|
std::pair<T,U> const & x)
|
|
{
|
|
os << "["
|
|
<< x.first
|
|
<< " "
|
|
<< x.second
|
|
<< "]";
|
|
|
|
return os;
|
|
} /*operator<<*/
|
|
} /*namespace std*/
|
|
|
|
/* end pair.hpp */
|