diff options
Diffstat (limited to 'zend/ini.cpp')
-rw-r--r-- | zend/ini.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zend/ini.cpp b/zend/ini.cpp index e7d9292..8a6fe11 100644 --- a/zend/ini.cpp +++ b/zend/ini.cpp @@ -78,6 +78,17 @@ IniValue::operator double() const } /** + * Custom output stream operator + * @param stream + * @param ini_val + * @return ostream + */ +std::ostream &operator<<(std::ostream &stream, const IniValue &ini_val) +{ + return stream << static_cast<const char*>(ini_val); +} + +/** * End of namespace */ } |