// istream2xstream.h
//
// Author David Barrett-Lennard
// (C)opyright Cedanet Pty Ltd 2004
#pragma once
#ifndef Ceda_cxUtils_istream2xstream_H
#define Ceda_cxUtils_istream2xstream_H
#include "cxUtils.h"
#include "xstring.h"
#include <istream>
#include <string>
namespace ceda
{
inline std::istream& operator>>(std::istream& is, xstring& str)
{
std::string s;
is >> s;
Convert(str, s.c_str(), s.size());
return is;
}
} // namespace ceda
#endif // include guard