Add tcu::just() that wraps argument in to tcu::Maybe.
authorMika Isojärvi <misojarvi@google.com>
Fri, 13 Feb 2015 20:48:55 +0000 (12:48 -0800)
committerMika Isojärvi <misojarvi@google.com>
Tue, 17 Feb 2015 21:52:06 +0000 (13:52 -0800)
commit7c39ad32b468dae7262aca39fa2c4fdd33dd0027
tree713c5b18481529896147572625ff9c7f9a5fa625
parent80f9d093fa90e0f7f271774d60c11e1feb8d28d7
Add tcu::just() that wraps argument in to tcu::Maybe.

Sometimes relying on implicit conversions is not enough and writing
complete constructor of tcu::Maybe<T> is tedious.

Change-Id: I945ada922e6507152f30109773425401cefd54a3
framework/common/tcuMaybe.hpp