daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Aug 12th, 2018 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  template <typename T>
  2.   class has_noarg_serial_size_helper
  3.   {
  4.  
  5.     template <typename C> static std::true_type test(decltype(static_cast<size_t(*)()>(serial_traits<T>::serial_size)));
  6.     template <typename C> static std::false_type test(...);
  7.  
  8.  
  9.   public:
  10.     using type = decltype(test<T>(0));
  11.   };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top