template <class Ex, typename... As>
inline exception_wrapper::exception_wrapper(InSituTag, in_place_type_t<Ex>, As&&... as)
- : buff_{in_place<Ex>, std::forward<As>(as)...},
+ : buff_{in_place_type<Ex>, std::forward<As>(as)...},
vptr_(&InPlace<Ex>::ops_) {}
inline exception_wrapper::exception_wrapper(exception_wrapper&& that) noexcept
inline exception_wrapper::exception_wrapper(Ex&& ex)
: exception_wrapper{
PlacementOf<Ex_>{},
- in_place<Ex_>,
+ in_place_type<Ex_>,
exception_wrapper_detail::dont_slice(std::forward<Ex>(ex))} {
}
inline exception_wrapper::exception_wrapper(in_place_t, Ex&& ex)
: exception_wrapper{
PlacementOf<Ex_>{},
- in_place<Ex_>,
+ in_place_type<Ex_>,
exception_wrapper_detail::dont_slice(std::forward<Ex>(ex))} {
}
inline exception_wrapper::exception_wrapper(in_place_type_t<Ex>, As&&... as)
: exception_wrapper{
PlacementOf<Ex>{},
- in_place<Ex>,
+ in_place_type<Ex>,
std::forward<As>(as)...} {
}
*/
template <class Ex, typename... As>
exception_wrapper make_exception_wrapper(As&&... as) {
- return exception_wrapper{in_place<Ex>, std::forward<As>(as)...};
+ return exception_wrapper{in_place_type<Ex>, std::forward<As>(as)...};
}
/**
}
template <class T>
-inline traits_detail::InPlaceTypeTag<T> in_place(
+inline traits_detail::InPlaceTypeTag<T> in_place_type(
traits_detail::InPlaceTypeTag<T> = {}) {
return {};
}
template <std::size_t I>
-inline traits_detail::InPlaceIndexTag<I> in_place(
+inline traits_detail::InPlaceIndexTag<I> in_place_index(
traits_detail::InPlaceIndexTag<I> = {}) {
return {};
}