1 #ifndef VTESTBED_IGES_TIMESTAMP_HH     2 #define VTESTBED_IGES_TIMESTAMP_HH     7 #include <vtestbed/iges/types.hh>    14         struct timestamp: 
public std::chrono::system_clock::time_point {
    17             typedef clock::time_point time_point;
    18             typedef clock::duration duration;
    19             using time_point::time_point;
    33             operator=(
const time_point& rhs) {
    34                 time_point::operator=(rhs);
    40                 *
this = time_point{duration::zero()};
    44             empty() const noexcept {
    45                 return *
this == time_point{duration::zero()};
    62         operator<<(
std::ostream& out, 
const timestamp::iges_date_pp& rhs);
    65         operator<<(iges_ostream& out, 
const timestamp& rhs);
    71 #endif // vim:filetype=cpp