File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -559,6 +559,9 @@ struct integer {
559559 }
560560};
561561
562+ template <typename R>
563+ explicit integer (R const &) -> integer<R>;
564+
562565/* *
563566 * @brief A parser combinator that attempts to parse each element in a document/array
564567 *
Original file line number Diff line number Diff line change @@ -476,6 +476,9 @@ struct opt_fmap {
476476 }
477477};
478478
479+ template <typename F>
480+ explicit opt_fmap (F const &) -> opt_fmap<F>;
481+
479482/* *
480483 * @brief Decay-copy an object.
481484 *
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ struct body_section {
5959 std::uint8_t const & kind () const noexcept { return kind_byte; }
6060};
6161
62+ template <typename B>
63+ explicit body_section (const B&) -> body_section<B>;
64+
6265// Common body section type:
6366extern template struct body_section <bson_view>;
6467using bson_view_body_section = body_section<bson_view>;
You can’t perform that action at this time.
0 commit comments