print: simplify quoted_impl
This commit is contained in:
parent
9cfa6db5db
commit
e7317b122c
1 changed files with 1 additions and 2 deletions
|
|
@ -30,8 +30,7 @@ namespace xo {
|
|||
template<typename T>
|
||||
class quoted_impl {
|
||||
public:
|
||||
quoted_impl(bool unq_flag, T const & x) : unq_flag_{unq_flag}, value_{x} {}
|
||||
quoted_impl(bool unq_flag, T && x) : unq_flag_{unq_flag}, value_{std::move(x)} {}
|
||||
quoted_impl(bool unq_flag, T x) : unq_flag_{unq_flag}, value_{std::move(x)} {}
|
||||
|
||||
bool unq_flag() const { return unq_flag_; }
|
||||
T const & value() const { return value_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue