lexical_cast<char>(std::string("Test")), boost::bad_lexical_cast);
lexical_cast<char>(std::string("Test")), bad_lexical_cast);
void test_conversion_to_char(){    BOOST_CHECK_EQUAL('A', lexical_cast<char>('A'));    BOOST_CHECK_EQUAL(' ', lexical_cast<char>(' '));    BOOST_CHECK_EQUAL('1', lexical_cast<char>(1));    BOOST_CHECK_EQUAL('0', lexical_cast<char>(0));    BOOST_CHECK_THROW(lexical_cast<char>(123), boost::bad_lexical_cast);    BOOST_CHECK_EQUAL('1', lexical_cast<char>(1.0));    BOOST_CHECK_EQUAL('1', lexical_cast<char>(true));    BOOST_CHECK_EQUAL('0', lexical_cast<char>(false));    BOOST_CHECK_EQUAL('A', lexical_cast<char>("A"));    BOOST_CHECK_EQUAL(' ', lexical_cast<char>(" "));    BOOST_CHECK_THROW(lexical_cast<char>(""), boost::bad_lexical_cast);    BOOST_CHECK_THROW(lexical_cast<char>("Test"), boost::bad_lexical_cast);    BOOST_CHECK_EQUAL('A', lexical_cast<char>(std::string("A")));    BOOST_CHECK_EQUAL(' ', lexical_cast<char>(std::string(" ")));    BOOST_CHECK_THROW(        lexical_cast<char>(std::string("")), boost::bad_lexical_cast);    BOOST_CHECK_THROW(        lexical_cast<char>(std::string("Test")), boost::bad_lexical_cast);}