Commit c0fe104f authored by Damien Leroux's avatar Damien Leroux
Browse files

Added as_value(x) wrapper.

parent 63925ea1
......@@ -804,6 +804,12 @@ template <typename _Coll>
template <typename _Coll>
as_collection<_Coll> values_of(const _Coll& c) { return {c}; }
template <typename X>
value<X> as_value(const X& x) { return {x}; }
/*template <typename X>*/
/*value<X> as_value(X&& x) { return {x}; }*/
#if 0
template <typename ValueType, typename... AllArgs> struct registry_impl_type;
template <typename ValueType>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment