0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

ircd::json::tuple: Restrict these ctors.

This commit is contained in:
Jason Volk 2019-01-16 17:22:09 -08:00
parent c3dcd5f586
commit 47cf369739

View file

@ -62,8 +62,8 @@ struct tuple
operator json::value() const; operator json::value() const;
operator crh::sha256::buf() const; operator crh::sha256::buf() const;
template<class... U> tuple(const tuple<U...> &); template<class... U> explicit tuple(const tuple<U...> &);
template<class U> tuple(const json::object &, const json::keys<U> &); template<class U> explicit tuple(const json::object &, const json::keys<U> &);
tuple(const json::object &); tuple(const json::object &);
tuple(const json::iov &); tuple(const json::iov &);
tuple(const std::initializer_list<member> &); tuple(const std::initializer_list<member> &);