/* Copyright 2016-2017 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost.org/libs/poly_collection for library home page. */ #ifndef BOOST_POLY_COLLECTION_DETAIL_IS_CONSTRUCIBLE_HPP #define BOOST_POLY_COLLECTION_DETAIL_IS_CONSTRUCIBLE_HPP #if defined(_MSC_VER) #pragma once #endif #include #include #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER,<190023918) /* https://connect.microsoft.com/VisualStudio/Feedback/Details/2118677, * fixed in VS2015U2 according to * https://blogs.msdn.microsoft.com/vcblog/2016/03/31/ * visual-c-2015-update-2-bug-fixes/, via github.com/dodheim */ #include namespace boost{ namespace poly_collection{ namespace detail{ template struct is_constructible:std::integral_constant< bool, boost::is_constructible::value >{}; } /* namespace poly_collection::detail */ } /* namespace poly_collection */ } /* namespace boost */ #else #include namespace boost{ namespace poly_collection{ namespace detail{ template using is_constructible=std::is_constructible; } /* namespace poly_collection::detail */ } /* namespace poly_collection */ } /* namespace boost */ #endif #endif