815 typedef _State_deleter<
typename _Pack_state::_Mybase::_State_type,
816 _Pack_state, _Alloc> _Delty;
819 typedef typename _Alty0::template rebind<_Delty>
820 ::other _Deleter_allocator;
821 typedef typename _Alty0::template rebind<_Pack_state>
822 ::other _State_allocator;
824 _Deleter_allocator _Del_alloc(_Al);
825 _State_allocator _St_alloc(_Al);
828 _Pack_state *_Res = 0;
830 _Del = _Del_alloc.allocate(1);
832 bool _Del_constructed =
false;
835 _Del_alloc.construct(_Del, _Al);
836 _Del_constructed =
true;
838 _Res = _St_alloc.allocate(1);
840 _St_alloc.construct(_Res,
_STD forward<_Fty2>(_Fnarg), _Al, _Del);
843 _St_alloc.deallocate(_Res, 1);
845 if (_Del_constructed)
846 _Del_alloc.destroy(_Del);
848 _Del_alloc.deallocate(_Del, 1);
#define _TRY_BEGIN
Definition: xstddef:60
#define _CATCH_END
Definition: xstddef:63
#define _CATCH_ALL
Definition: xstddef:62
#define _RERAISE
Definition: xstddef:74