Home
last modified time | relevance | path

Searched refs:is_optional_v (Results 1 – 3 of 3) sorted by relevance

/openbmc/sdbusplus/test/utility/
H A Dtype_traits.cpp87 using sdbusplus::utility::is_optional_v; in TEST()
93 ASSERT_TRUE(is_optional_v<std::optional<int>>); in TEST()
94 ASSERT_TRUE(is_optional_v<std::optional<int>&>); in TEST()
95 ASSERT_FALSE(is_optional_v<int>); in TEST()
/openbmc/sdbusplus/include/sdbusplus/
H A Dunpack_properties.hpp59 else if constexpr (utility::is_optional_v<ValueType>)
88 else if constexpr (!utility::is_optional_v<ValueType> &&
/openbmc/sdbusplus/include/sdbusplus/utility/
H A Dtype_traits.hpp171 constexpr bool is_optional_v = is_optional<T>::value; variable