Kaynağa Gözat

Formatting.

main
offa 7 yıl önce
ebeveyn
işleme
5154c6bdc2
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +1
    -1
      include/scope_fail.h
  2. +2
    -1
      include/unique_resource.h

+ 1
- 1
include/scope_fail.h Dosyayı Görüntüle





int m_uncaught_on_creation = uncaught_exceptions(); int m_uncaught_on_creation = uncaught_exceptions();

}; };






using detail::scope_guard_base<EF, detail::scope_fail_strategy>::scope_guard_base; using detail::scope_guard_base<EF, detail::scope_fail_strategy>::scope_guard_base;



private: private:


}; };

+ 2
- 1
include/unique_resource.h Dosyayı Görüntüle

namespace detail namespace detail
{ {
template<class T, class TT> template<class T, class TT>
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value || !std::is_nothrow_move_constructible<TT>::value,
using is_ntmocp_constructible = std::conditional_t<std::is_reference<TT>::value
|| !std::is_nothrow_move_constructible<TT>::value,
typename std::is_constructible<T, const TT&>::type, typename std::is_constructible<T, const TT&>::type,
typename std::is_constructible<T, TT>::type>; typename std::is_constructible<T, TT>::type>;



Yükleniyor…
İptal
Kaydet