Provide details on the platforms you are using:
Describe the problem
The documentations for C++ APIs seems to be for TensorRT 4 still. For example, missing the new pure virtual functions like clone, destroy, etc for IPluginExt. Also, NvInferPlugin.h seems to be not of version 5. The link given in TensorRT 5 documentations for new plugins like NMS_TRT is missing. Although, some part of the documentations seems to be of v5. For instance, the macro NV_TENSORRT_MAJOR is defined as 5 in the documentation. So there might be some discrepancies among different pages.