Project

General

Profile

Actions

Task #3284

closed

ndn::time::duration should be passed by value

Added by Davide Pesavento about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Core
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Values of type ndn::time::duration (aka boost::chrono::duration) and its convenience typedefs are never larger than 64 bits. Therefore they should be passed by value, not const reference.

Actions

Also available in: Atom PDF