X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Ftype_traits%2Fis_trivially_copyable.hpp;fp=ceph%2Fsrc%2Fboost%2Fboost%2Ftype_traits%2Fis_trivially_copyable.hpp;h=a62668aaef980356203d50848bce39ed11c23b94;hb=20effc670b57271cb089376d6d0800990e5218d5;hp=0000000000000000000000000000000000000000;hpb=a71831dadd1e1f3e0fa70405511f65cc33db0498;p=ceph.git diff --git a/ceph/src/boost/boost/type_traits/is_trivially_copyable.hpp b/ceph/src/boost/boost/type_traits/is_trivially_copyable.hpp new file mode 100644 index 000000000..a62668aae --- /dev/null +++ b/ceph/src/boost/boost/type_traits/is_trivially_copyable.hpp @@ -0,0 +1,31 @@ +/* +Copyright 2020 Glen Joseph Fernandes +(glenjofe@gmail.com) + +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) +*/ + +#ifndef BOOST_TT_IS_TRIVIALLY_COPYABLE_HPP_INCLUDED +#define BOOST_TT_IS_TRIVIALLY_COPYABLE_HPP_INCLUDED + +#include +#include +#include +#include +#include + +namespace boost { + +template +struct is_trivially_copyable + : integral_constant::value && + has_trivial_assign::value && + has_trivial_move_constructor::value && + has_trivial_move_assign::value && + has_trivial_destructor::value> { }; + +} /* boost */ + +#endif