Project

General

Profile

Actions

Feature #4566

closed

Examples for NDN_CXX_DEPRECATED

Added by Junxiao Shi about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Docs
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

NDN_CXX_DEPRECATED macro was introduced in Oct 2017 but it isn’t used in ndn-cxx codebase and doesn’t have any examples. It is difficult for developers to figure out how to use it correctly.
This issue is to add examples on how to use this macro for deprecating a type, a variable, and a function.
The examples shall appear in Doxygen, and in unit tests to ensure they are correct.

Actions

Also available in: Atom PDF