Searched refs:FatToIntConverter (Results 1 – 2 of 2) sorted by relevance
81 struct FatToIntConverter struct85 FatToIntConverter(int val) : _val(val) {} in FatToIntConverter() argument89 int FatToIntConverter::conversions = 0; argument98 BOOST_TEST(oi.value_or(FatToIntConverter(2)) == 1); in test_function_value_or()99 BOOST_TEST(FatToIntConverter::conversions == 0); in test_function_value_or()102 BOOST_TEST(oi.value_or(FatToIntConverter(2)) == 2); in test_function_value_or()103 BOOST_TEST(FatToIntConverter::conversions == 1); in test_function_value_or()
82 struct FatToIntConverter struct86 FatToIntConverter(int val) : _val(val) {} in FatToIntConverter() argument90 int FatToIntConverter::conversions = 0; argument99 BOOST_TEST(oi.value_or(FatToIntConverter(2)) == 1); in test_function_value_or()100 BOOST_TEST(FatToIntConverter::conversions == 0); in test_function_value_or()103 BOOST_TEST(oi.value_or(FatToIntConverter(2)) == 2); in test_function_value_or()104 BOOST_TEST(FatToIntConverter::conversions == 1); in test_function_value_or()