18 lines · c
1#ifndef _LIBCPP_ALGORITHM2#define _LIBCPP_ALGORITHM3template <class _Tp, _Tp>4struct integral_constant {5 static const _Tp value = _Tp();6};7 8template <class _Tp>9struct is_nothrow_default_constructible10 : integral_constant<bool, __is_constructible(_Tp)> {};11 12template <class _Tp>13struct is_nothrow_move_constructible14 : integral_constant<bool, __is_constructible(_Tp, _Tp)> {};15 16class allocator {};17#endif18