17 #ifndef PSTORE_SERIALIZE_COMMON_HPP 18 #define PSTORE_SERIALIZE_COMMON_HPP 56 template <
typename Other>
67 template <
typename Other>
78 T
const &
get ()
const {
return t_; }
82 bool is_first_ =
true;
87 #endif // PSTORE_SERIALIZE_COMMON_HPP A helper class which remembers the first time that it is assigned to.
Definition: common.hpp:46
sticky_assign & operator=(Other const &rhs)
Assign from a type that is implicitly convertible to T.
Definition: common.hpp:68
sticky_assign(Other const &t)
Construct from a type that is implicitly convertible to T.
Definition: common.hpp:57
Definition: nonpod2.cpp:40
sticky_assign(sticky_assign< T > const &rhs)
Construct from a sticky_assign<T>. This is considered equivalent to assignment.
Definition: common.hpp:50