From 753402a84b40ff4dc9697dea1d2d4aa037ea7624 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 25 Sep 2013 09:41:17 -0700 Subject: Constructor gets almost called when object is constructed --- include/value.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/value.h') diff --git a/include/value.h b/include/value.h index e29b8f2..f47304a 100644 --- a/include/value.h +++ b/include/value.h @@ -499,6 +499,14 @@ protected: friend class Environment; }; +/** + * Custom output stream operator + * @param stream + * @param value + * @return ostream + */ +std::ostream &operator<<(std::ostream &stream, const Value &value); + /** * End of namespace */ -- cgit v1.2.3