It should be default constructible

This commit is contained in:
Kohei Takahashi committed 2018-05-08 00:23:04 +09:00
1 parent b03d1e9458
commit cb4a4cdde7
2 files changed
+7

No files matched your search

@@ -19,6 +19,9 @@ struct trivial_base { };
struct non_trivial_base
{
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
BOOST_DEFAULTED_FUNCTION(non_trivial_base() BOOST_NOEXCEPT, {})
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
non_trivial_base(non_trivial_base const&) BOOST_NOEXCEPT { }
};