Advertisement
frasl

Untitled

Feb 8th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. template <class T>
  2. struct data_structure
  3. {
  4.     static_assert(std::is_default_constructible<T>::value,
  5.                   "Data Structure requires default-constructible elements");
  6. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement