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>
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:
- Use gpr_timespec or std::chrono::system_clock::time_point instead
- Specialize the TimePoint class with whichever time class that you want to use here. See below for two examples of how to do this.
◆ TimePoint()
◆ raw_time()
The documentation for this class was generated from the following file: