mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
variant の trivial move constructor が定義されていなかった問題を修正
This commit is contained in:
parent
d748bd7507
commit
097c9c5bed
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ namespace sprout {
|
|||
: impl_type()
|
||||
{}
|
||||
variant(variant const&) = default;
|
||||
variant(variant&&) = default;
|
||||
template<typename T>
|
||||
SPROUT_CONSTEXPR variant(T&& operand)
|
||||
: impl_type(sprout::forward<T>(operand), sprout::types::find_index<tuple_type, T>())
|
||||
|
|
Loading…
Reference in a new issue