GRPC C++  1.66.0
Public Member Functions
grpc::TimePoint< T > Class Template Reference

If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec or std::chrono::system_clock::time_point, you will most likely be looking at this comment as your compiler will have fired an error below. More...

#include <time.h>

Public Member Functions

 TimePoint (const T &)=delete
 
gpr_timespec raw_time ()=delete
 

Detailed Description

template<typename T>
class grpc::TimePoint< T >

If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec or std::chrono::system_clock::time_point, you will most likely be looking at this comment as your compiler will have fired an error below.

In order to fix this issue, you have two potential solutions:

  1. Use gpr_timespec or std::chrono::system_clock::time_point instead
  2. Specialize the TimePoint class with whichever time class that you want to use here. See below for two examples of how to do this.

Constructor & Destructor Documentation

◆ TimePoint()

template<typename T >
grpc::TimePoint< T >::TimePoint ( const T &  )
delete

Member Function Documentation

◆ raw_time()

template<typename T >
gpr_timespec grpc::TimePoint< T >::raw_time ( )
delete

The documentation for this class was generated from the following file: