Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <concepts> 7 : #include <pup.h> 8 : 9 : /// Concept for serialization via pup. 10 : template <typename T> 11 : concept serializable = 12 : std::default_initializable<T> and requires(T t, PUP::er& p) { p | t; };