mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-04-27 22:50:49 -05:00
Minor code cleanup
This commit is contained in:
@@ -103,6 +103,16 @@ namespace sqlpp
|
||||
using _container_t = Container;
|
||||
using _value_type = typename operand_t<typename _container_t::value_type, is_value_t>::type::_value_type;
|
||||
|
||||
value_list_t(_container_t container):
|
||||
_container(container)
|
||||
{}
|
||||
|
||||
value_list_t(const value_list_t&) = default;
|
||||
value_list_t(value_list_t&&) = default;
|
||||
value_list_t& operator=(const value_list_t&) = default;
|
||||
value_list_t& operator=(value_list_t&&) = default;
|
||||
~value_list_t() = default;
|
||||
|
||||
_container_t _container;
|
||||
};
|
||||
|
||||
|
||||
Vendored
+1
-6
@@ -57,16 +57,11 @@ namespace sqlpp
|
||||
};
|
||||
};
|
||||
|
||||
in_t(const Operand& operand, const Args&... args):
|
||||
in_t(Operand operand, Args... args):
|
||||
_operand(operand),
|
||||
_args(args...)
|
||||
{}
|
||||
|
||||
in_t(Operand&& operand, Args&&... args):
|
||||
_operand(std::move(operand)),
|
||||
_args(std::move(args...))
|
||||
{}
|
||||
|
||||
in_t(const in_t&) = default;
|
||||
in_t(in_t&&) = default;
|
||||
in_t& operator=(const in_t&) = default;
|
||||
|
||||
Reference in New Issue
Block a user