diff options
author | David Beck <david.beck@arm.com> | 2018-10-08 13:30:36 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:58 +0100 |
commit | cde00f55da5c4d6daf1934ab13ec8423610c9703 (patch) | |
tree | fa987eabbc2c1ecb9098d5af92626b193c7b1be3 /src/armnn/test/OptionalTest.cpp | |
parent | d6c10ed456eb6d8f2569f9bebefe915c1e5951b7 (diff) | |
download | armnn-cde00f55da5c4d6daf1934ab13ec8423610c9703.tar.gz |
IVGCVSW-1975 : total removal of boost::optional from the public interface
Change-Id: Ib38a6216ebcdc350c75c028951b3f18f36a2f6b7
Diffstat (limited to 'src/armnn/test/OptionalTest.cpp')
-rw-r--r-- | src/armnn/test/OptionalTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/armnn/test/OptionalTest.cpp b/src/armnn/test/OptionalTest.cpp index 87fd156ece..a869c7e191 100644 --- a/src/armnn/test/OptionalTest.cpp +++ b/src/armnn/test/OptionalTest.cpp @@ -111,6 +111,10 @@ BOOST_AUTO_TEST_CASE(BoostCompatibilityTests) BoostCompatibilityTester(armnn::Optional<std::string>(), false, ""); BoostCompatibilityTester(armnn::Optional<std::string>("Hello World"), true, "Hello World"); + // verify boost signature selector + BOOST_TEST(armnn::CheckBoostOptionalSignature<boost::optional<std::string>>::Result() == true); + BOOST_TEST(armnn::CheckBoostOptionalSignature<armnn::Optional<std::string>>::Result() == false); + // the real thing is to see that we can pass a boost::optional in place // of an ArmNN Optional boost::optional<std::string> empty; |