Issue #731: Provide new JSONCPP_OP_EXPLICIT macro to restore VS 2012 support after recent introduction of explicit conversion function in JSON::Value.
diff --git a/include/json/value.h b/include/json/value.h
index bcf3675..8d049ad 100644
--- a/include/json/value.h
+++ b/include/json/value.h
@@ -408,7 +408,7 @@
bool empty() const;
/// Return !isNull()
- explicit operator bool() const;
+ JSONCPP_OP_EXPLICIT operator bool() const;
/// Remove all object members and array elements.
/// \pre type() is arrayValue, objectValue, or nullValue