Searched refs:std_str (Results 1 – 5 of 5) sorted by relevance
27 string const std_str = "-11"; in int_to_str() local36 string s01 = boost::convert< string>(-1, cnv).value_or(std_str); in int_to_str()59 string const std_str = "-11"; in str_to_int() local71 int const a01 = boost::convert<int>(std_str, cnv).value_or(-1); in str_to_int()85 boost::optional<int> const r01 = boost::convert<int>(std_str, cnv); in str_to_int()111 int a21 = boost::convert<int>(std_str, cnv).value(); in str_to_int()
61 string const std_str = "-11"; in main() local64 int const v01 = convert<int>( std_str).value_or(-1); in main()
27 string const std_str = "-11"; in main() local31 BOOST_TEST(-11 == convert<int>(std_str, cnv).value_or(-1)); in main()
39 string const std_str = "11"; in test_str_to_uint() local51 BOOST_TEST(11 == convert<unsigned int>(std_str).value()); in test_str_to_uint()54 BOOST_TEST(11 == convert<unsigned long int>(std_str).value()); in test_str_to_uint()66 string const std_str = "-11"; in test_str_to_int() local71 BOOST_TEST(-11 == convert<int>(std_str).value()); in test_str_to_int()
49 std::string std_str("std_str"); in testing_boost_containers_string_std_string() local52 BOOST_CHECK(boost::lexical_cast<boost::container::string>(std_str) == "std_str"); in testing_boost_containers_string_std_string()