xo-umbrella2/xo-indentlog/include/xo/indentlog/print/pair.hpp
Roland Conybeare 966c3903e1 git subrepo clone git@github.com:Rconybea/xo-indentlog.git xo-indentlog
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:   "???"
2026-06-06 21:30:17 -04:00

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