Public Member Functions | List of all members
grpc::TimePoint< T > Class Template Reference

#include <time.h>

Public Member Functions

gpr_timespec raw_time ()=delete
 
 TimePoint (const T &)=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.

Definition at line 42 of file include/grpcpp/impl/codegen/time.h.

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:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:31