Kaynağa Gözat

FIX: C++17 is_swappable import from stl

doc
ebeveyn
işleme
325ac9a5b2
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. +4
    -2
      include/utl/concepts/stl.h

+ 4
- 2
include/utl/concepts/stl.h Dosyayı Görüntüle

@@ -404,8 +404,10 @@ namespace utl {
using type = decltype(check<_Tp, _Up>(0));
};
#else
using is_swappable = std::is_swappable;
using is_swappable_with = std::is_swappable_with;
template<typename Tp>
using is_swappable = std::is_swappable<Tp>;
template<typename T, typename U>
using is_swappable_with = std::is_swappable_with<T, U>;
#endif
// != std:: on CommonReference


Yükleniyor…
İptal
Kaydet