Fix issue in string_cat_expr which would cause copy construction to never work
This commit is contained in:
parent
72f8c0d592
commit
b5dc455566
@ -204,8 +204,8 @@ namespace rexy{
|
|||||||
m_r(std::forward<U>(r)){}
|
m_r(std::forward<U>(r)){}
|
||||||
template<class Left, class Right>
|
template<class Left, class Right>
|
||||||
constexpr string_cat_expr<Left,Right>::string_cat_expr(const string_cat_expr& s):
|
constexpr string_cat_expr<Left,Right>::string_cat_expr(const string_cat_expr& s):
|
||||||
m_l(std::forward<Left>(s.m_l)),
|
m_l(s.m_l),
|
||||||
m_r(std::forward<Right>(s.m_r)){}
|
m_r(s.m_r){}
|
||||||
template<class Left, class Right>
|
template<class Left, class Right>
|
||||||
constexpr string_cat_expr<Left,Right>::string_cat_expr(string_cat_expr&& s):
|
constexpr string_cat_expr<Left,Right>::string_cat_expr(string_cat_expr&& s):
|
||||||
m_l(std::forward<Left>(s.m_l)),
|
m_l(std::forward<Left>(s.m_l)),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user