File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,21 +278,21 @@ constexpr type(std::in_place_index_t<Index>, Args&&... args) NOEXCEPT \
278278template <class Type , class ... Args> \
279279constexpr type& assign (std::in_place_type_t <Type>, Args&&... args) NOEXCEPT \
280280{ \
281- inner.emplace <Type>(std::forward<Args>(args)...); \
281+ inner.template emplace <Type>(std::forward<Args>(args)...); \
282282 return *this ; \
283283} \
284284template <size_t Index, class ... Args> \
285285constexpr type& assign (std::in_place_index_t <Index>, Args&&... args) NOEXCEPT \
286286{ \
287- inner.emplace <Index>(std::forward<Args>(args)...); \
287+ inner.template emplace <Index>(std::forward<Args>(args)...); \
288288 return *this ; \
289289}
290290
291291// / Generate operator= overloads forwarding assignment for a specific alt type.
292292#define FORWARD_ALTERNATIVE_VARIANT_ASSIGNMENT (type, Alternative, inner ) \
293293constexpr type& operator =(Alternative&& alternative) NOEXCEPT \
294294{ \
295- inner.emplace <Alternative>(std::forward<Alternative>(alternative)); \
295+ inner.template emplace <Alternative>(std::forward<Alternative>(alternative)); \
296296 return *this ; \
297297}
298298
You can’t perform that action at this time.
0 commit comments