IVGCVSW-2759 Add MakeOptional to enable in-place optional object construction
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Fri, 22 Feb 2019 17:08:36 +0000 (17:08 +0000)
committerAron Virginas-Tar <aron.virginas-tar@arm.com>
Wed, 27 Feb 2019 13:40:06 +0000 (13:40 +0000)
commitb56292c0040aa125cdaafcee1a4299c5cd144200
tree3ff8908587d065ee4c621db78d4ea26df6500c3e
parent91c0eff2ff4ff384e013cb69cac1e07e28b9e2b1
IVGCVSW-2759 Add MakeOptional to enable in-place optional object construction

* Added new argument-forwarding in-place constructor to Optional
* Added MakeOptional utility template to allow for efficient construction
  of optional objects

Change-Id: Iec9067fc5c3e109a26c4cc2fe8468260637b66c5
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
include/armnn/Optional.hpp
src/armnn/test/OptionalTest.cpp