summaryrefslogtreecommitdiff
path: root/decoder/trule.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:08:50 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 01:08:50 +0000
commitb5bd75ab4a66e61e724fcb9488d164a3936a6b4e (patch)
treea2f0bf8c8ade27e598404e40d423f094665be7bc /decoder/trule.h
parent88827bde7abd9745fb0437a299e0bb6ad96babe6 (diff)
cout<<TRule
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@506 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/trule.h')
-rw-r--r--decoder/trule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/trule.h b/decoder/trule.h
index 04058a41..e73fd0fe 100644
--- a/decoder/trule.h
+++ b/decoder/trule.h
@@ -104,7 +104,7 @@ class TRule {
bool Initialized() const { return e_.size(); }
std::string AsString(bool verbose = true) const;
-
+ friend std::ostream &operator<<(std::ostream &o,TRule const& r);
static TRule DummyRule() {
TRule res;
res.e_.resize(1, 0);