File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,15 @@ template <typename T> struct is_rangeloop_supported : std::false_type {};
6464template <typename T> struct is_rangeloop_supported <std::vector<T>> : std::true_type {};
6565template <typename T> struct is_rangeloop_supported <std::initializer_list<T>> : std::true_type {};
6666
67+ // Forward decls (IMPORTANT)
68+ template <typename T>
69+ typename std::enable_if<is_rangeloop_supported<T>::value, std::string>::type
70+ tag_expand (const T&);
71+
72+ template <typename T>
73+ typename std::enable_if<!is_rangeloop_supported<T>::value, std::string>::type
74+ tag_expand (const T&);
75+
6776// Tag expansion function for supported range-loop types
6877template <typename T>
6978typename std::enable_if<is_rangeloop_supported<T>::value, std::string>::type tag_expand (const T& arg) {
You can’t perform that action at this time.
0 commit comments