mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 16:17:49 +08:00
d45c9779a7
* [docopt] Add docopt.cpp to fix #3935 * [docopt] Cleanup * [docopt] Disable vcpkg_test_cmake due to misbehavior on x64 * [docopt] Install only one flavor (static/shared)
29 lines
733 B
Diff
29 lines
733 B
Diff
diff --git a/docopt.h b/docopt.h
|
|
index 4c40741..06a04f8 100644
|
|
--- a/docopt.h
|
|
+++ b/docopt.h
|
|
@@ -85,6 +85,9 @@ namespace docopt {
|
|
bool help = true,
|
|
std::string const& version = {},
|
|
bool options_first = false) noexcept;
|
|
+
|
|
+ /// Write out the contents to the ostream
|
|
+ std::ostream DOCOPT_API & operator<<(std::ostream&, value const&);
|
|
}
|
|
|
|
#ifdef DOCOPT_HEADER_ONLY
|
|
diff --git a/docopt_value.h b/docopt_value.h
|
|
index a923219..7f0d6d6 100644
|
|
--- a/docopt_value.h
|
|
+++ b/docopt_value.h
|
|
@@ -102,9 +102,6 @@ namespace docopt {
|
|
Kind kind = Kind::Empty;
|
|
Variant variant {};
|
|
};
|
|
-
|
|
- /// Write out the contents to the ostream
|
|
- std::ostream& operator<<(std::ostream&, value const&);
|
|
}
|
|
|
|
namespace std {
|