Project

General

Profile

Actions

Feature #2553

closed

Block::fromBuffer use move semantics

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

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

100%

Estimated time:
1.50 h

Description

Change signature of Block::fromBuffer from

static bool Block::fromBuffer(..., Block&);

to

static std::tuple<bool, Block> Block::fromBuffer(...);

Old syntax becomes deprecated after this API change.


Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Task #2636: Delete deprecated Block::fromBuffer overloadsClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF