37 #include <grpc++/config.h>
56 you_need_a_specialization_of_TimePoint();
63 void you_need_a_specialization_of_TimePoint();
77 #ifndef GRPC_CXX0X_NO_CHRONO
81 #include <grpc/support/time.h>
86 void Timepoint2Timespec(
const std::chrono::system_clock::time_point& from,
89 std::chrono::system_clock::time_point Timespec2Timepoint(
gpr_timespec t);
92 class TimePoint<std::chrono::system_clock::time_point> {
94 TimePoint(
const std::chrono::system_clock::time_point& time) {
95 Timepoint2Timespec(time, &time_);
104 #endif // !GRPC_CXX0X_NO_CHRONO
106 #endif // GRPCXX_TIME_H