[foundation] Do NOT allow copy/move on OwnedRegion (#299)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 4 Jun 2018 07:09:51 +0000 (16:09 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 4 Jun 2018 07:09:51 +0000 (16:09 +0900)
commit2bc8ae28af28548151f9e53ca6005f189db050f1
treec10695507ee719acefe495501e5f04bb367d136b
parent814172cae1c956e1f03793e613ce45139a679d88
[foundation] Do NOT allow copy/move on OwnedRegion (#299)

As its name suggestes, OwnedRegion should not be copied.

OwnedRegion should be moveable simialrly as std::unique_ptr<T>,
but the current implementation sets '_base' field as const field,
so it is impossible to implement move constructor.

As a workaround, this commit  disables move on Owned Region
temporarily.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
libs/foundation/include/nncc/foundation/OwnedRegion.h